TEXT FORMATTING TAG IN HTML

FORMATTING TAG IN HTML


TEXT FORMATTING TAG IN HTML




This tag is used for formatting in different types of text in a web page such as -



Bold

<b>…………………………..</b>

Italic

<i>……………………………</i>

Underline

<u>…………………………..</u>

Super Script

<sup>………………………..</sup>

Sub Script

<sub>……………………….</sub>

Heading

<h1, h2, h3>………………..</h1, h2, h3>

Paragraph

<p>…………………………</p>

Page Break

< /br>

Font

<font face = “arial” size = “5” color = “pink”>……</font>

Line draw

<hr width = “400” color = “Red”/>

Small text

<small>……………………..</small>

Big text

<big>……………………….</big>

align

<p align = “left, right, center”>



TEXT TO BOLD


<html>

<head>

<title>Bold text</title>

</head>

<body>

<b>I’m a Bold text</b>

</body>

</html>{codeBox}



TEXT TO ITALIC  


<html>

<head>

<title>italic text</title>

</head>

<body>

<i> I’m a italic text </i>

</body>

</html>{codeBox}


TEXT UNDERLINE  TO


<html>

<head>

<title>Underline text</title>

</head>

<body>

<u> I’m a Underline text </u>

</body>

</html>{codeBox}


TEXT STRIKETHROUGH  TO


<html>

<head>

<title>Strikethrough text</title>

</head>

<body>

<s> I’m a Strikethrough text </s>

</body>

</html>{codeBox}


TO MAKE THE TEXT BIG


<html>

<head>

<title>Big text</title>

</head>

<body>

<big> I’m a Big text </big>

</body>

</html>{codeBox}


TO MAKE THE TEXT SMALLER


<html>

<head>

<title>Small text</title>

</head>

<body>

<small> I’m a Small text </ small >

</body>

</html>{codeBox}


TEXT SUPERSCRIPT   TO


Text Superscript   to

<html>

<head>

<title>Superscript text</title>

</head>

<body>

10 <sup> th </ sup >

</body>

</html>{codeBox}


SUBSCRIPT  TO TEXT


<html>

<head>

<title> Subscript  text</title>

</head>

<body>

H <sub> 2 </sub>O

</body>

</html>{codeBox}


TO CREATE A TEXT HEADING


<html>

<head>

<title> Heading text</title>

</head>

<body>

<h1> HEADING 1 </h1>

<h2> HEADING 2 </h2>

<h3> HEADING 3 </h3>

<h4> HEADING 4 </h4>

<h5> HEADING 5 </h5>

<h6> HEADING 6 </h6>

</body>

</html>{codeBox}


TO CREATE A PARAGRAPH



<html>

<head>

<title> Paragraph text</title>

</head>|

<body>

<p> Use Document Workspaces to simplify the process of co-writing, editing, and reviewing documents with others in real time through Microsoft Office Word 2003, Microsoft Office Excel 2003, Microsoft Office PowerPoint 2003, or Microsoft Office Visio 2003. </p>


<p>A Document Workspace site is a Microsoft Windows SharePoint Services site that is centered around one or more documents. Colleagues can easily work together on the document — either by working directly on the Document Workspace copy or by working on their own copy, which they can update periodically with changes that have been saved to the copy on the Document Workspace site. </p>

</body>

</html>{codeBox}


TO ALIGN THE TEXT


<html>

<head>

<title> Align text</title>

</head>

<body>

<p align=”left”>This is Left align text.</p>

<p align=”center”>This is Center align text.</p>

<p align=”right”>This is Right align text.</p>

</body>

</html>{codeBox}


TEXT'S FONT FORMATTING TO CHANGE


<html>

<head>

<title> font formatting </title>

</head>

<body>

<font face=”verdana” color=”green” size = “5”>This is some text</font></ br>

<font face=”Arial” color=”Red” size = “5”>This is some text</font></ br>

<font face=”Calibri” color=”Blue” size = “5”>This is some text</font></ br>

</body>

</html>{codeBox}

AKASH TIMES

I AM AN ENGINEER BY PROFESSION BUT BLOGGER IS MY OLD DAYS DREAM TO CREATE MY OWN SITE FOR THOSE WHO ARE CURIOUS ABOUT MY BIRTHPLACE THEN I AM COMING FROM (INDIA). CURRENT CITY LIVES IN NAVI MUMBAI, INDIA

Post a Comment

IF YOU HAVE ANY PROBLEM PLEASE FELL FREE TO CONTACT US BY - AKASH TIMES

PREVIOUS POST NEXT POST