Wednesday, June 14, 2023

Lecture#6(What is tags )

 




Definition And Usage 

The <html> Tag represent the root of an HTML documents. The <html> tag is the container for all other HTML elements(except for the <!. 


HTML tags 

Head 

 Head tag in HTML is used to define the head portion of the document which contains information related to the document. <head>…</head

Paragraph 

The HTML <pelement defines a paragraph. A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a ... 

Center 

The <centertag was used in HTML4 to center-align text. What to Use Instead? Example. Center-align text (with CSS):. <html

Bold 

The HTML <b> element defines bold text, without any extra importance. Example. <b>This text is bold</b>  

    Italic

     The <i> tag defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic. The <i> tag is often used to indicate ... 

    Underline 

     We use the <u> tag, to underline a text in HTML. It represents a text in a different style from another text in the content of the web page. 

     Sub 

     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.

      Example:-

                       1 3 =1 

                       2=8

                       3=27

                       4=64 

                       5=125 






No comments:

Post a Comment

TABLE Templates