" /> Document Elements HTML5 - TN Mikro
Home > English > Document Elements HTML5

Document Elements HTML5

HTML5 elements are eliminated in
 The following HTML 4.01 elements are omitted in HTML5:
 <acronym>
 <applet>
 <basefont>
 <big>
 <center>
 <dir>
 <font>
 <frame>
 <frameset>
 <noframes>
 <strike>
 <tt>

Document HTML5
An HTML5 document like this, simply written text editor or HTML editor:
<! DOCTYPE HTML>
image

Here is an explanation of HTML5 document above:
o An HTML5 document begins with <! DOCTYPE HTML>.
o Signs such as <html> tag is called. A tag like that expressed an element in the HTML document.
o Some tags in pairs. For example, <head> pair with </ head>.
o However, not all tags in pairs. For example, China does not have a partner. Especially for a tag like this, there is no necessity to include the / before the>. At XHTML, marks such as / is indeed required to be written.
o The couple <html> .. </ html> stated initial HTML document.
o In the <html> .. </ html> There are a couple <head> .. </ head> and <body> .. </ body>.
o The couple <head> .. </ head> section stating HTML document title. It contained at least in the form of pairs <tittle> .. </ tittle>.
o The couple <body> .. </ body> declared part of the body of the document. In the example, Congratulations to learn HTML5

appears in the document body. When opened in a web browser zoom as follows:
image
Figure 3.1 Display HTML document in Web Browser

Figure 3.2 below shows a visual explanation of the HTML document in front.
image
Figure 3.2 Explanation of the HTML document