Skip to main content

H1,H2,H3,H4,H5,H6, P ,B, U and Super and Subscript TAGS

H1,H2,H3,H4,H5,H6, P ,B, U and Super and Sbscript TAGS

HTML :

Hypertext Markup Language is the standard markup language for documents designed to be displayed in a web browser.

This language is purly based on Tags Every tag has opening and Closing tag.

Main Tags :

1. html tag :

it is used to at starting and ending of each and every web page.

Sarting Tag : <html> Ending tag : </html>

2. style tag :

it is used to define differnent styles for web page for example adding colours to text and zooming effect etc .

Sarting Tag : <style> Ending tag : </style>

3. Script tag :

it is used to perform validation on particular webpage using javascript .

Sarting Tag : <script> Ending tag : </script>

4. body tag :

it is used to write content for the web site .

Sarting Tag : <body> Ending tag : </body>

5. Title tag :

it is used to show name of the webpage on the Browser Tab .

Sarting Tag : <title> Ending tag : </title>

Here i will demonstrate about some tags like H1,H2,H3,H4,H5,H6,P,B,U,sup & sub tags along with the code and execution. For this first take a notepad and copy code then save it with .html extension.Thats it your Program will be exected.if You want to check its effect within this website plese click on EXECUTE button.

For Example i have taken MSR WEBTECH before Applying sentence so let us check how the sentence will change after appling each and every tag from below.

H1 Tag : It is used to define Heading with Higest Size

CODE <html> <head> <title> H1 TAG </title> <style type="text/css"> </style> </head> <body > <H1> This is the text after applying H1 Tag </H1> </body> </html>
OutPut (Click on above execute Button)

H2 Tag : It is used to define Heading 2 nd Higest Size

CODE <html> <head> <title> H2 TAG </title> <style type="text/css"> </style> </head> <body > <H2> MSR WEBTECH after applying H2 Tag </H2> </body> </html>
OutPut (Click on above execute Button)

H3 Tag : It is used to define Heading 3 rd Higest Size

CODE <html> <head> <title> H3 TAG </title> <style type="text/css"> </style> </head> <body > <H3> MSR WEBTECH after applying H3 Tag </H3> </body> </html>
OutPut (Click on above execute Button)

H4 Tag : It is used to define Heading 4 th Higest Size

CODE <html> <head> <title> H4 TAG </title> <style type="text/css"> </style> </head> <body > <H4> MSR WEBTECH after applying H4 Tag </H4> </body> </html>
OutPut (Click on above execute Button)

H5 Tag : It is used to define Heading 5 th Higest Size

CODE <html> <head> <title> H5 TAG </title> <style type="text/css"> </style> </head> <body > <H5> MSR WEBTECH after applying H5 Tag </H5> </body> </html>
OutPut (Click on above execute Button)

H6 Tag : It is used to define Heading 6 th Higest Size

CODE <html> <head> <title> H6 TAG </title> <style type="text/css"> </style> </head> <body > <H6> MSR WEBTECH after applying H6 Tag </H6> </body> </html>
OutPut (Click on above execute Button)

P Tag : This is used to write Paragraph

CODE <html> <head> <title> P TAG </title> <style type="text/css"> </style> </head> <body > <P> MSR WEBTECH after applying P Tag </P> </body> </html>
OutPut (Click on above execute Button)

U Tag : This is used to Underline particular text

CODE <html> <head> <title> U TAG </title> <style type="text/css"> </style> </head> <body > <U> MSR WEBTECH after applying U Tag </U> </body> </html>
OutPut (Click on above execute Button)

B Tag : This is used to Bold particular text

CODE <html> <head> <title> B TAG </title> <style type="text/css"> </style> </head> <body > <B> MSR WEBTECH after applying B Tag </B> </body> </html>
OutPut (Click on above execute Button)

Sub & Sup Tag : Sub tag is used to Subscript particular content & Sup tag is used to Superscript particular content

CODE <html> <head> <title> Sup & Sup TAG </title> <style type="text/css"> </style> </head> <body > MSR WEBTECH <sub>after applying sub Tag </sub> MSR WEBTECH <sup>after applying sup Tag </sup> </body> </html>
OutPut (Click on above execute Button)

Comments

Popular posts from this blog

Image map or Map and Area tags

Anchor TAG Image Map or map Tag : An image map is an image with clickable areas. Sarting Tag : Ending tag : Attributes : It has different attributes like usemap name Area Tag : It contains Area tag Sarting Tag : Ending tag : Attributes : It has different attributes like shape coords href For this first take a notepad and copy code then save it with .html extension.Thats it your Program will be exected.if You want to check its effect within this website plese click on EXECUTE button. 1. Usemap attribute : Usemap att...

Marquee Tag and Its Attributes

Marquee TAG Marquee Tag : Marquee is one of the important tags in Website creation .it is generally used to scrooling the content on the webpage .For example : in our regular innovations Website i use this for showing latest updates on my website. Sarting Tag : Ending tag : Attributes : It has different attributes like Direction Height Width Behavior Scrolldelay Scrollamount Hspace Vspace Loop Bgcolor Id & Hovering effects ...

Fieldset and Pre Tags in HTML with Live execution

Fieldset Tag in HTML Fieldset & Pre Tags in HTML : 1. Fieldset Tag : is used for grouping related form elements in a box.It is used to give user a clear view about Content. Starting tag : Ending tag : 2. Legend Tag : Legend tag is used to give title for Fieldset. Starting tag : Ending tag : 3. Pre Tag : Pre tag is used to set alignment of your web page as coded line wise . Starting tag : Ending tag : For this first take a notepad and copy code then save it with .html extension.Thats it your Program will be exected.if You want to check its effect within this website plese click on EXECUTE button. CODE Fieldset ,Pre TAGs Login Page User Name : Password : OutPut (...