0% found this document useful (0 votes)
42 views2 pages

HTML Reference: HTML Text Formatting Tags

This document provides information about HTML tags for formatting text, computer output, citations and quotations. It lists tags such as <b>, <i>, <code>, <blockquote> and <cite> and briefly describes each tag's purpose. The document notes that font tags are deprecated and styles should be used instead. It also lists deprecated tags like <center>, <font>, <s> and their attributes.

Uploaded by

peter103958
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

HTML Reference: HTML Text Formatting Tags

This document provides information about HTML tags for formatting text, computer output, citations and quotations. It lists tags such as <b>, <i>, <code>, <blockquote> and <cite> and briefly describes each tag's purpose. The document notes that font tags are deprecated and styles should be used instead. It also lists deprecated tags like <center>, <font>, <s> and their attributes.

Uploaded by

peter103958
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML reference

See: http://www.w3schools.com/tags/default.asp

HTML Text Formatting Tags


Tag <b> <big> <em> <i> <small> <strong> <sub> <sup> <ins> <del> Description Defines bold text Defines big text Defines emphasized text Defines italic text Defines small text Defines strong text Defines subscripted text Defines superscripted text Defines inserted text Defines deleted text

HTML "Computer Output" Tags


Tag <code> <kbd> <samp> <tt> <var> <pre> Description Defines computer code text Defines keyboard text Defines sample computer code Defines teletype text Defines a variable Defines preformatted text

HTML Citations, Quotations, and Definition Tags


Tag <abbr> <acronym> <address> <bdo> <blockquote> <q> <cite> <dfn> Description Defines an abbreviation Defines an acronym Defines contact information for the author/owner of a document Defines the text direction Defines a long quotation Defines a short quotation Defines a citation Defines a definition term

Note: The Font tag is depreciated in HTML 4 and removed in all later versions. Do not use it.

Use Styles instead


e.g. <html> <body> <p style="font-family:verdana;font-size:110%;color:green"> This is a paragraph with some text in it. This is a paragraph with some text in it. This is a paragraph with some text in it. This is a paragraph with some text in it. </p> </body> </html> For more examples, refer to: http://www.w3schools.com/html/html_styles.asp

Depreciated Tags
Tags <center> <font> and <basefont> <s> and <strike> <u> Attributes align bgcolor color Description Deprecated. Defines centered content Deprecated. Defines HTML fonts Deprecated. Defines strikethrough text Deprecated. Defines underlined text Description Deprecated. Defines the alignment of text Deprecated. Defines the background color Deprecated. Defines the text color

Refer to Images here


http://www.w3schools.com/html/html_images.asp

You might also like