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

Computer Graphics and image processing Mathematical Background

 Computer Graphics and image processing Mathematical  Background Numerical Background  1.1 Introduction  The instructed material in this course draws upon a numerical foundation in direct polynomial math.  We momentarily update a portion of the fundamentals here, prior to starting the course material in Chapter 2.  1.2 Points, Vectors, and Notation  Quite a bit of Computer Graphics includes conversation of focuses in 2D or 3D. Normally we compose such  focuses as Cartesian Coordinates for example p = [x, y]  T or q = [x, y, z]  T  . Point organizes are  accordingly vector amounts, instead of a solitary number for example 3 which we call a scalar  amount. In these notes, we compose vectors in striking and underlined once. Grids are composed  in striking, twofold underlined.  The superscript [...]  T indicates rendering of a vector, so focuses p and q are segmented vectors  (organizes stacked on top of ea...

Basics of Automata Theory

 Basics of Automata Theory  What is Automata Theory?  Introduction Automata Theory is an energizing, hypothetical part of software engineering. It set up its foundations during the twentieth Century, as mathematicians started creating - both hypothetically and in a real sense - machines that imitated certain highlights of man, finishing estimations all the more rapidly and dependably. The word machine itself, firmly identified with "mechanization", signifies programmed measures doing the creation of explicit cycles. Essentially expressed, the automata hypothesis manages the rationale of calculation concerning straightforward machines, alluded to as automata. Through automata, PC researchers can see how machines figure works and tackle issues and all the more significantly, how it affects a capacity to be characterized as calculable or for an inquiry to be depicted as decidable.  Robots are unique models of machines that perform calculations on a contribution by trave...

An Introduction to Computer Graphics and its Applications

An Introduction to Computer Graphics and its Applications Introduction to Computer Graphics: Illustrations are characterized as any sketch or a drawing or an extraordinary organization that pictorially addresses some significant data. PC Graphics is utilized where a bunch of pictures should be controlled or the production of the picture as pixels and is drawn on the PC. PC Graphics can be utilized in advanced photography, film, entertainment, electronic contraptions, and any remaining center innovations which are required. It is an immense subject and territory in the field of software engineering. PC Graphics can be utilized in UI configuration, delivering, mathematical item, movement, and numerous more. In most territory, PC design is a contraction of CG. There are a few apparatuses utilized for the execution of Computer Graphics. The essential is the <graphics.h> header document in Turbo-C, Unity for cutting edge and even OpenGL can be utilized for its implementation. It was d...