Tuesday, April 27, 2010

Working With Text In HTML, How To Highlight Text In HTML

This section covers additional features available while working with text, including text highlighting tag and right or right or center aligning paragraphs, headings, and other documents sections

Text Highlighting Tags: HTML recognizes a number of additional character rendering tags, including the SUP (Superscript), SUB (Subscript), U (Underline), and STRIKE (Strikethrough) tags.

The SUP and SUB tags are highly useful tags that you should use wherever you need superscript or subscript. The STRIKE command is more limited to using the Web in workgroup document preparation processes, rather than for displaying final renditions. The U tags is used for underline a word.

Example:

HTML>

HEAD>

TITLE> My First Web Page /TITLE>

/HEAD>

BODY>

P> This is a regular text. SUP> Use SUP for Superscripts. /SUP> This is regular text. SUB> Use SUB for subscripts. /SUB> This is a regular text. U> Use U for underlining. /U> This is a regular text. STRIKE> Use Strike for Strike through /STRIKE>

/BODY>

/HTML>

0 comments:

 

blogger templates | M