formatting tag

20
Prepared By Gusani Mayank

Upload: mayank-soni

Post on 18-Dec-2014

765 views

Category:

Education


0 download

DESCRIPTION

A wide description of basic formatting tag is given with detail insight about cross platform compatibility.

TRANSCRIPT

Page 1: Formatting tag

Prepared By Gusani Mayank

Page 2: Formatting tag

HTML TagsHTML markup tags are usually called HTML

tags

HTML tags are keywords surrounded by angle brackets like <html>

HTML tags normally come in pairs like <b> and </b>

The first tag in a pair is the start tag, the second tag is the end tag

Start and end tags are also called opening tags and closing tags

Page 3: Formatting tag

HTML 4.01 Formatting Tag Reference

Page 4: Formatting tag

HTML <abbr> TagThe <abbr> tag describes an abbreviated phrase.By marking up abbreviations you can give useful

information to browsers, spellcheckers, screen readers, translation systems and search-engines.

Page 5: Formatting tag

HTML <tt> <i> <b> <big> <small> Tags

Page 6: Formatting tag

HTML <bdo> Tagbdo stand for bidirectional override.The <bdo> tag allows you to specify the text

direction and override the bidirectional algorithm.

Page 7: Formatting tag

HTML <blockquote> TagThe <blockquote> tag defines a long quotation.A browser inserts white space before and after a

blockquote element. It also insert margins for the blockquote element.

Tips and NotesTip: Use the <q> element to mark up short

quotations!Note: To validate a blockquote element as strict

HTML/XHTML, the element must contain only other block-level elements, like this:

<blockquote><p>Here is a long quotation here is a long quotation</p></blockquote>

Page 8: Formatting tag

Optional & Standard Attributes

Page 9: Formatting tag

HTML <em> <strong> <dfn> <code> <samp> <kbd> <var> <cite> Tags

Page 10: Formatting tag

Standard Attributes

Page 11: Formatting tag

HTML <pre> Tag

The <pre> tag defines preformatted text.

Text in a pre element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.

Page 12: Formatting tag

Optional & Standard Attributes

Page 13: Formatting tag

HTML <sub> and <sup> Tags

The <sub> tag defines subscript text. Subscript text appears half a character below the baseline. Subscript text can be used for chemical formulas, like H2O.

The <sup> tag defines superscript text. Superscript text appears half a character above the baseline. Superscript text can be used for footnotes, like WWW[1].

Page 14: Formatting tag

Standard Attributes

Page 15: Formatting tag

HTML <address> TagThe <address> tag defines the contact information for

the author or owner of a document. This way, the reader is able to contact the document's owner.

The address element is usually added to the header or footer of a webpage.

Page 16: Formatting tag

HTML <acronym> TagThe <acronym> tag defines an acronym.

An acronym can be spoken as if it were a word, example NATO, NASA, ASAP, GUI.

By marking up acronyms you can give useful information to browsers, spellcheckers, screen readers, translation systems and search-engines.

Page 17: Formatting tag

Standard Attributes

Page 18: Formatting tag

HTML <del> TagThe <del> tag defines text that has been

deleted from a document.

Page 19: Formatting tag

HTML <font> TagThe <font> tag specifies the font face, font

size, and font color of text.

Page 20: Formatting tag

End Of HTML Tour