gazettes_Html

HTML Basic Tags Examples

HTML Documents

All HTML documents must start with a document type declaration: .

  • The HTML document itself begins with  and ends with .
  • The visible part of the HTML document is between  and .

Example

akhtarbari.com

 




HTML Headings

HTML headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important heading:

Example

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

HTML Paragraphs

HTML paragraphs are defined with the <p> tag:

Example

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>



HTML Links

HTML links are defined with the <a> tag:

Example

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *