Free WebSchools.com

Google



Submit ArticleForumsLive chat WebhostingSEO ToolsLink TO UsResources


HOME

HTML Basic

HTML Introduction
HTML Basic Tags
HTML Formatting

HTML Entities
HTML Links
HTML Frames
HTML Tables



HTML Lists
HTML Forms
HTML Images

HTML Background
HTML Colors


HTML Advanced
HTML Fonts
HTML Styles
HTML Head
HTML Meta

HTML Scripts
HTML Events


Elements For Formatting

html formatting

HTML defines a lot of elements for formatting output, like bold or italic text. Below are Some of examples




Text formatting

( demonstrates how you can format text in an HTML document.)
Output

This text is bold
This text is strong
This text is big
This text is emphasized
This text is italic
This text is small
this text contains superscript
This text contains superscript

Deleted and inserted text

( demonstrates how to mark a text that is deleted or inserted to a document.)
output

Good resources in webschools webschools are great!!!

Quotation

( demonstrates how to handle long and short quotations.)
Output

long quotation:
This is a long quotation. you can add any text according to your requirement
Here comes a short quotation: short quotation.you can add any text according to your requirement

With the block quote element, the browser inserts line breaks and margins, but the q element does not render as anything special.

computer Ouput tags

Output

Computer code
Keyboard input
Teletype text
Sample text
Computer variable

Text Formatting Tags

Tag Description
<b> Defines bold text
<big> Defines big text
<em> Defines emphasized text 
<i> Defines italic text
<small> Defines small text
<strong> Defines strong text
<sub> Defines subscripted text
<sup> Defines superscripted text
<ins> Defines inserted text
<del> Defines deleted text
<s> Deprecated. Use <del> instead
<strike> Deprecated. Use <del> instead
<u> Deprecated. Use styles instead

"Computer Output" Tags

Tag Description
<code> Defines computer code text
<kbd> Defines keyboard text 
<samp> Defines sample computer code
<tt> Defines teletype text
<var> Defines a variable
<pre> Defines preformatted text
<listing> Deprecated. Use <pre> instead
<plaintext> Deprecated. Use <pre> instead
<xmp> Deprecated. Use <pre> instead

Citations, Quotations, and Definition Tags

Tag Description
<abbr> Defines an abbreviation
<acronym> Defines an acronym
<address> Defines an address element
<bdo> Defines the text direction
<blockquote> Defines a long quotation
<q> Defines a short quotation
<cite> Defines a citation
<dfn> Defines a definition term