HTML block - Introduction

Purpose

The purpose of HTML is that structure information so it appears in the browser according to the principle...

Title
 Paragraph
 New paragraph
 Link
Subtitle
 Paragraph
 Image

... etc.

The structure establishes no design. It is up to the browser to interpret the structure   and with the help of a built-in style sheet information is presented. The way of notice   information with the structure of statements called Markup Language. Markup   the browser's HTML5 and recommended fr.om 2014 of the standardization body   W3C.

A properly written HTML document consists of an HTML element that has two Blockhead   and the BODY within.

HTML, HEAD, BODY

Within the HEAD block are metadata such as TITLE, META Keywords, META Descriptions,   LINK, etc.

BODY block contains basically everything that will be visible to visitors   web ..

Study HTML

Buy books that teach html if you explicitly need something to hold on to, otherwise there is excellent   html training online. Search html tutor. Many people's favorite is w3schools.com

w3schools

Prolog

Since October 2014 recommended the HTM5 standard.

With HTML5, simplified & quot; prologue, & quot; which always starts   full html document. The prologue tells the browser what standard it as HTML coders   followed by specifying a DTD's. The prologue for that HTML5 will look like this ...

<!DOCTYPE html>

Encoding

To get language specific characters (åäöÅÄÖ) appear right one needs to be familiar   the display tables. You enter in the head section of the HTML document, the character encoding. With HTML5 specified specified character set as follows.

<meta charset=" utf-8 ">

 List of valid character definitions.

Manage blocks

With html tag <div>can include the bloc of html code and processing   that, for example, making it invisible. In the example covered integrally of a DIV   which is then made invisible.

...
<div style=" visibility: hidden; ">
  <p>... text ... </p>
<div>
...

With this hide / display technology can achieve much magic on web pages. An example   where this technique included is a menu that appears when the mouse hovers over a word.

Server-Side Include

A website which pieces of content are repeated on multiple Web pages, your system is.   An example of when this might be used is when the navigation menu will return to all   Web pages. Then you can "break" the actual navigation code and put it in a separate   file. With the platforms' scripting technology, then these files are included so that one   no need to restart navigation code on all pages, it includes only on the web pages   that is needed. So this code looks to include external files in ASP.

<!--#include file = "include_this_file.htm" -->

And this is how it looks with PHP

<? php include ("include_this_file.htm"); ?>