![]() |
HTML Text Formatting Tags![]() ![]() ![]() ![]() ![]()
Various HTML markup tags are used to change the text formatting, including tags for alignment, bold, italic, underline and strike through styles. Many special characters can be included in the HTML coding. These special characters are called as character entities. HTML heading levels allow the user to enhance the look of the text. They are fundamental to HTML documents and place emphasis by bolding and adding white space before and after the text. There are six levels of heading tags. <Hl>, <H2>, <H3>, <H4>, <H5>, <H6>. All these are non-empty tags. Heading level tags do not specify the correct font size. Instead, they represent the relative size of the heading level from small to big. <H1> gives the biggest font size, while <H6> gives the smallest font size. While using the heading tags, a paragraph break is automatically inserted before and after the text. <HTML> <HEAD> <TITLE> HEADING LEVEL FORMATTING </TITLE> </HEAD> <BODY> <Hl> WELCOME TO PENTASOFT </H1> <H2> WELCOME TO PENTASOFT </H2> <H3> WELCOME TO PENTASOFT </H3> <H4> WELCOME TO PENTASOFT </H4> <H5> WELCOME TO PENTASOFT </HS> <H6> WELCOME TO PENTASOFT </H6> </BODY> </HTML> The superscript <SUP> and subscript <SUB> tags are used to place the text slightly above and below the rest of the text in the line respectively. The <SMALL> and <BIG> tags changes the size of the text according to the names of the tags. If two <BIG> tags or two <SMALL> tags are used the size becomes bigger or smaller, i.e. the effects of these tags will be enhanced if the tags are stacked. The <ADDRESS> tag is used to specify the address. The address will be displayed in italics. The difference between <1> and <ADDRESS> is that in the address tag a line break is given automatically. The <SAMP> tag is used to display the text as sample text. The <TT> tag is used to display the text as typewriter text. <HTML> <HEAD> <TITLE>SUBSCRIPT AND SUPERSCRIPT </TITLE>, </HEAD> <BODY> EXAMPLE FOR SUPERSCRIPT IS 2 <SUP> 4 </SUP> <P> EXAMPLE FOR SUBSCRIPT IS 2 <SUB> 4 </SUB> <P> <BIG> THIS TEXT WILL BE DISPLAYED BIGGER THAN OTHER TEXT </BIG> <P> <SMALL> THIS TEXT WILL BE DISPLAYED SMALLER THAN OTHER TEXT </SMALL> <P> <ADDRESS> 25, FIRST MAIN ROAD, KODAMBAKKAM </ADDRESS> <P> <SAMP> SAMPLE TEXT </SAMP> <P> <TT> TYPE WRITER TEXT </TT> </BODY> </HTML>
|
|
Domain NamesHTML Evalution of HTML Simple HTML Code Structure of an HTML Document Basic HTML Tags HTML Color Code Background Code Text formatting Tags Tag Attributes and Character Entities Lists and Menus HTML Image CodeHTML Link Code Internal Links HTML Music and Video Code HTML Font Code HTML Forms Tables Image Maps Server Side Image Map Client Side Image Map Defining a Non Rectangular Area HTML Frames Creating Multiple Frames Style Sheets HTML EditorWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |