HTML
Hypertext Markup Language, a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages.
HTML defines the structure and layout of a Web document by using a variety of tags. The correct structure for an HTML document starts with <HTML><HEAD>(enter here what document is about)<BODY> and ends with </BODY></HTML>. All the information you'd like to include in your Web page fits in between the<BODY> and </BODY> tags.
HTML defines the structure and layout of a Web document by using a variety of tags. The correct structure for an HTML document starts with <HTML><HEAD>(enter here what document is about)<BODY> and ends with </BODY></HTML>. All the information you'd like to include in your Web page fits in between the<BODY> and </BODY> tags.
Header
The <header> element represents a container for introductory content or a set of navigational links. A <header> element typically contains:
Example:
<article>
<header>
<h1>Most important heading here</h1>
<h3>Less important heading here</h3>
<p>Some additional information here</p>
</header>
<p>Lorem Ipsum dolor set amet....</p>
</article>
- one or more heading elements (<h1> - <h6> and <hgroup>)
- logo or icon
- authorship information
Example:
<article>
<header>
<h1>Most important heading here</h1>
<h3>Less important heading here</h3>
<p>Some additional information here</p>
</header>
<p>Lorem Ipsum dolor set amet....</p>
</article>
Comment
The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers.
You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code.
Example:
<!--This is a comment. Comments are not displayed in the browser-->
<p>This is a paragraph.</p>
You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code.
Example:
<!--This is a comment. Comments are not displayed in the browser-->
<p>This is a paragraph.</p>