Basic Tags for Text Markup


XHTML
(eXtensible HyperText Markup Language)

see also  CHARACTER ENTITY REFERENCES

Basic Tags for Text Markup
MarkupOutput (font=Arial) Attributes
BLOCK-LEVEL TAGS
<h1>Largest Heading</h1>

Largest heading

ATTRIBUTES incl.: 
- id [+ name] 
- class 
- title 
- style
<h6>Smallest Heading</h6>
Smallest heading
ATTRIBUTES incl.: 
- id [+ name] 
- class 
- title 
- style
<p>Paragraph tags.</p>

Paragraph tags.

ATTRIBUTES incl.: 
- id [+ name] 
- class 
- style
Line <br />breakLine 
break
ATTRIBUTES
seldom applied
<hr /> ("horizontal rule" graphic text divider)
("horizontal rule" graphic text divider)
ATTRIBUTES incl.: 
- class 
- style 
NOTE: all "special" attributes are deprecated
<blockquote>Blockquote tags isolate extended quotations</blockquote> from the regular flow of text.
Blockquote tags isolate extended quotations
from the regular flow of text.
ATTRIBUTES incl.: 
- cite="[URL]"
- id [+ name] 
- class 
- title 
- style
<pre>Preformatted 
  text   maintains
spacing and
    line breaks     as
typed, using a  
 		fixed-pitch font</pre>
Preformatted 
  text   maintains
spacing and
    line breaks     as
typed, using a  
 		fixed-pitch font
ATTRIBUTES incl.: 
- id [+ name] 
- class 
- title 
- style
<div style="text-align: center; border-style: dotted"> Division tags create a block-level box around their contents.</div> Use with a "class," "id," or "style" attribute to add CSS formating.
Division tags create a block-level box around their contents.
Use with a "class," "id," or "style" attribute to add CSS formating.
ATTRIBUTES incl.: 
- id [+ name] 
- class 
- title 
- style
INLINE TAGS (these cannot enclose BLOCK-LEVEL tags)
<span style="border: 1px dashed black">Span tags create an inline box around their contents.</span> Use with a "class," "id," or "style" attribute to add CSS formating. Span tags create an inline box around their contents. Use with a "class," "id," or "style" attribute to add CSS formating. ATTRIBUTES incl.: 
- id [+ name] 
- class 
- title 
- style
<b>Bold-face (but generally prefer &lt;strong&gt;</b>Bold-face (but generally prefer <strong>)ATTRIBUTES 
seldom applied
<big>Bigger than normal</big>Bigger than normalATTRIBUTES 
seldom applied
<del>Deleted text, that's being editorially removed.</del> (Often used with <ins>inserted text</ins>.)Deleted text, that's being editorially removed.(Often used with inserted text.)ATTRIBUTES incl.: 
- cite="[URL]
- datetime=[YYYMMDD]"
- id [+ name] 
- class 
- style 
- title
<em>Emphasis</em>EmphasisATTRIBUTES incl.: 
- class 
- style
<ins>Inserted text, as an editorial addition.</ins> (Often used with <del>deleted text</del>.)Inserted text, as an editorial addition. (Often used with deleted text.)ATTRIBUTES incl.: 
- cite="[URL]
- datetime=[YYYMMDD]"
- id [+ name] 
- class 
- style 
- title
<i>Italics (but generally prefer &lt;em&gt;)</i>Italics (but generally prefer <em>)ATTRIBUTES 
seldom applied
<small>Smaller than normal</small>Smaller than normalATTRIBUTES 
seldom applied
<strong>Strong emphasis</strong>Strong emphasisATTRIBUTES incl.: 
- class 
- style
<sub>Subscript</sub> textSubscript textATTRIBUTES 
seldom applied
<sup>Superscript</sup> textSuperscript textATTRIBUTES 
seldom applied
<tt>Teletype text displays in a default mono-spaced font</tt>Teletype text displays in a default mono-spaced fontATTRIBUTES 
seldom applied

No comments:

Post a Comment

Beginner's Guide to HTML ADDITIONAL PAGES : Approved Properties and Values (CSS Reference) Basic Tags for Text Markup Cha...