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

Computer awareness questions asked in RRB PO Part II

Computer awareness questions asked in RRB PO Part II Part -I Part - II Learn them from below Q 1) which of the following is not a is not an email service ? A. Bing B. yandex C. gmail D.Yahoo View Answer & Explanation Q 2) Which of the following is incorrect declaration of file name in Windows 7 ? A.mydoc:file.doc B.Mydoc hai.doc C.Mydoc_hai.doc D. Mydoc.doc View Answer & Explanation Q 3)Which of the following is correct mail id ? A. @mymail.com B. msrgmail.com C. msr@.com D. msr@gmail.com View Answer & Explanation Q 4) Which of the following is a software that that is available free of cost but do not provide any freedom of modifying, sharing and studying the program ? A.Free ware B.share ware C. Open source D.Adware View Answer & Explanation ...

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 (...

Part 4 : Top 500 Computer Awareness Previously Asked Questions

Top 500 Computer Awareness questions Take Quiz from below Q 1) In Network layer , data transferred interns of _______________ ? frames packets bits segments Q 2) What is the shortcut for creating new slide from already existing slide ? contrl + N contrl + M contrl + V contrl + R Q 3) What is the extension for MS-ACCESS ? ACCDB XLS DOCX ACCESS Q 4) Which of the following is volatile memory ? HARD DISK ROM RAM COMPACT DISK Q 5) What is used to identify Particular page on web ? ? HYPERLINK URI URL SERVER ADDRESS Q 6) Which one of the fo...