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

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

​ Know what is Visual Basic? ​ ​Visual Basic Features​?

 ​ Know what is Visual Basic? ​ ​Visual Basic  Features​? History of Visual Basic: Today we will learn what is visual basic .net? Visual Basic (VB) is a programming language developed by Microsoft for its operating system Windows. It was developed in 1992 by a Microsoft company. Visual Basic is made from Basic (BASIC) language, The basic language is said to be easier to read than other languages. It supports rapid application development (RAD) of the graphical user interface (GUI). The final version was last released in 1998. Microsoft's support ended in March 2008, After this, Visual Basic DotNet ('VB.NET') was launched by Microsoft. Visual Basic is a tool used to create a Window Application. Visual Basic is an extension of the BASIC Programming language. You can develop your application through Mous. And simultaneously type the code through the keyboard which is Execute, Visual Basic (Visual Basic) Programming language has built-in code. Which the programmer can handle ea...

Computer Network Architecture

Computer Network Architecture  PC Network Architecture is characterized as the physical and sensible plan of the product, equipment, conventions, and media of the transmission of information. Essentially we can say that how PCs are coordinated and how assignments are apportioned to the PC.  Types of network architectures are used: Peer-To-Peer network Client/Server network Peer-To-Peer network: A Peer-To-Peer network is an organization wherein every one of the PCs is connected along with equivalent advantages and obligations regarding preparing the information.  The Peer-To-Peer network is helpful for little conditions, generally up to 10 PCs.  The distributed organization has no devoted workers.  Extraordinary consents are appointed to every PC for sharing the assets, yet this can prompt an issue if the PC with the asset is down.  Computer Network Architecture  Computer Network Architecture is characterized as the physical and sensible plan of the pro...