HTML - text tag

Here you learn how to code the text tag.

Although it is good to learn HTML you shouldn't use HTML to format text. You should use CSS text formatting instead. You can learn to do it here.

Blockquote

The BLOCKQUOTE tag is used to signifiy text that is quoted from another source. It is formatted similar to the way quoted text is formatted in textbooks where there is a left and right indent. BLOCKQUOTE also causes a paragraph break.

PHP file

<html>
<head>
<title>HTML tutorial</title>
</head>

<body>
Content goes here.

<blockquote>This is how a long quote looks with the blockquote tags around it. This is how a long quote looks with the blockquote tags around it.</blockquote><br><br>

Content goes here.

</body>

</html>



This is how it looks


Section Heading

Content goes here.

This is how a long quote looks with the blockquote tags around it. This is how a long quote looks with the blockquote tags around it.

Content goes here.

Bold Text

The <b> tag is used to make text bold.

PHP page

<html>
<head>
<title>HTML tutorial</title>
</head>

<body>
This is regular text.<br><br>

<b>This is bold text.</b><br><br>

</body>

</html>



This is how it looks


This is regular text.

This is bold text.

Italicized Text

The <i> tag is used to italicize text.

PHP Page

<html>
<head>
<title>HTML tutorial</title>
</head>

<body>
This is regular text.<br><br>

<i>This is italicized text.</i><br><br>

</body>

</html>



This is how it looks


This is regular text.

This is italicized text.


 
Bookmark this page:
   
Rate this page:
  • Currently 2.92/5
  • 1
  • 2
  • 3
  • 4
  • 5

Rating: 2.9/5 (272 votes)



Comments:

please post comments
admin November 21, 2006

 
Nickname:
Comment:
Security: 1+1=
Hosts
Lunarpages.com Web Hosting
iPowerWeb

Domain Registrars
PPC Networks
Logos
Affiliate Networks
Resources