Skip to main content

HTML Text Formatting

HTML Text formatting:

Different tags are used to format the text in HTML documents. Some of them are as follows:

<B> tag is used to bold the text. It is closed by </B> tag.

<I> tag is used to display the tag in italic style. It is closed by </I> tag.

<Strong> tag is used to present an important message. It is close by </strong> tag.

<BIG> tag is used to display a bigger text. It is close by </BIG> tag.

<SMALL> tag is used to display a text in small size. It is closed by </SMALL>

<U> this tag is used to underline a text. It is closed by </U> tag.

<SUB> tag is used to display text as a subscript. It is closed by </SUB> tag.

<SUP> tag is used to display text as superscript. It is closed by </SUP> tag.

Example:

·       Type the following code in notepad and save with “fotmatting.html”

 

<HTML>

<BODY>

 

          <B> this is a bold text. </B> <BR>

          <I> this is a text in italic style. </I> <BR>

          <STRONG> this is an important text! </STRONG> <BR>

          <BIG> this is a big text </BIG> <BR>

          <SMALL> this is a small text. </SMALL> <BR>

          <U> Underlined text </U> <BR>

          <SUB> Subscript text</SUB> <BR>

          <SUP> superscript text </SUP> <BR>

         

</HTML?

</BODY>

 

·       Save the file as “Formatting.html”

·       Double click the file. The web page will appear as below

 



 

 

 

 


Comments

Popular posts from this blog

Features of Operating System

 Features of Operating System All application like games, MS office, Firefox requires a reasonable climate to execute and play out their assignment. The working framework assists the client with associating with the framework without knowing to chip away at the coding languages. It isn't plausible for anybody to utilize any cell phones or PCs without conveying the working framework. It is compulsory to have at any rate one working framework to execute the projects and play out the assignment. So in the straightforward, working framework is characterized as the product that goes about as a line between PC equipment and end-client for simple collaboration to finish the assignment viably.  Highlights of Operating System  There is a wide scope of outstanding highlights in the working framework which is creating step by step. The development of OS is splendid in light of the fact that it is created in 1950 to deal with the capacity tapes and now it was functioning as an interf...

HTML Headings

  Headings: Heading are used to display different type of headings. “<Hn>” is the opening tag of headings and the closing tag is “</Hn>” where “n” is the size of the heading. Its value is from 1 to 6 . 1 represents the largest size and 6 represents the smallest size. HTML headings are titles or captions that you need to show on a site page . Example: compose and html code that show the heading on a page           <HTML>           <BODY> <h1> Heading      2 </h1> < h2 > Heading 2 < /h2 > < h3 > Heading 3 < /h3 > < h4 > Heading 4 < /h4 > < h5 > Heading 5 < /h5 > < h6 > Heading 6 < /h6 > </HTML>           </BODY> Save file with “heading.html” Double click the file. The page will open as follows...

Highlights/Features Of Computer Network

 Highlights/Features Of Computer Network Highlights Of Computer organization  In this article guide, we will talk about the highlights of a Computer Network  A rundown Of Computer network highlights is given underneath.  Execution  communication speed  Document sharing  Back up and Rollback is simple  Programming and Hardware sharing  Security  Versatility  Unwavering quality  Execution:  The performance of a Computer network is estimated as far as reaction time. The reaction season of sending and getting information from one hub (PC in a PC network regularly alludes to a hub) to another ought to be negligible.  Information Sharing: One of the motivations behind why we utilize a PC network is to divide the information among various frameworks associated with one another through transmission media.  Reinforcement:  A PC network should have a focal worker that keeps the reinforcement of all the information tha...