Latest News

Text formating tags

Text formatting tags



Header tags : These tags are used for side heading purpose. We have mainly six types of header tags in HTML.
They are :
  • h1 (25 px) <h1>
  • h2 (18px) <h2>
  • h3(16px) <h3>
  • h4(14px) <h4>
  • h5(12px) <h5>
  • h6(10px) <h6>
Blocked tag : Blocked tag will block entire line.
Inline tags : These tags block the space depends on the content.
Ex : italic, underline, bold, span……..
ptag <p>  : Arrange the text in paragraph format, it also blocked tag.
itag <i> : Applying italic style to content.
utag <u> : It writtens underline to content.
btag <b> : Applying bold style to content.
emtag <em> : It is also similar to italic tag, but it is a XHTML tag.
strongtag <strong> : It is also similar to bold, but is a XHTML tag.
bigtag <big> : Increase the font size into two px height.
smalltag <small> : Decrease the two px font size.
subtag <sub> : Subscript tag, it is used to print the statement in base value.
suptag <sup> : Superscript tag, it is used to print the statement in upper value.
Ex :
log<sub>2</sub>10
a<sup>2</sup>tb<sup>2</sup>
del <del> : It writtens a line through the content.
strike <strike> : It is also similar to deltag, but it is a XHTML tag.
Ex : RS=<strike>700</strike>…….RS=500
hr <hr> : It writtens a horizontal line in the web page.
Attributes of hr :
  • size – increase the size of line
  • width – increase or decrease the width of the line
  • align – change the alignment of line (left, center, right)
Ex : <hr width=”20px” size=”10px” align=”center”>
br <br> : It is used to break the line in the web page.
pre <pre> : pre format tag, this tag is different from other HTML tag, it can able to execute the spaces and any kind of fonts.

No comments:

Post a Comment

eWeb Classes Powered by MV Innovative InfoTech Copyright © 2014

Theme images by Bim. Powered by Blogger.