some important tags to design html page.



 HTML tags to making aweosome  web pages. In html there so many tags.

Gieve below some basic tags of html

  •  Heading tags :- used to display headings in html page.

In heading tags there are 6 tags divide by their size.

<h1> this is paragraph</p>

<h2>this is paragraph</p>

<h3>this is paragraph</p>

<h4>this is paragraph</p>

<h5>this is paragraph</p>

<h6>this is paragraph</p>



  •  Paragraph tag :- paragraph tags used add paragraph in html page.

Ex:- <p>my name is Nikhil shinde</p>

 

  •  Anchor tag :- this tag used to add links in your html page.

Ex:- <a href = “https ://google.com”>Google. </a>

                                                           

  • Image tag :- this tag is used to add images to your html page.

Ex:- <img src = “/image.png” alt = “random image”>

 

  •  Br tag :- this tag is to add next line (breaks the line)  to your page.

<br>____</br>

 

  • Bold, italic, & underline tags :- this tag is to add highlight text to to your page.

<b> :- this is bold to text

<i> :- this italic tag

<u> :- this is underline tag.


  • Big and small tag :- this tag is used to add display big & small text on your page.

ex:-  <big> big </big>

        <small>small</small>


  • Hr tag :- this tag is used to add display a horizontal rural used to separate content.

            <hr>


  • subscript & superscript tag :-The <sub> tag defines subscript text. Subscript text appears half a character below the normal line, and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O. Tip: Use the <sup> tag to define superscripted text.  

  • pre tag :- this tag is used to display text as it is ( without ignoring spaces & next line)
 ex:- <pre> this is a sample text</pre>

  • page layout technique :- using semantic tags for layout using the right tags.

                <header>
                <main>
                <footer>

  • inside main tag :- 
section tag for a section on your page <section>
 
article tag for an article on your page <article>

aside tag for content aside main content <aside>



Comments

Popular Posts