HTML style attribute - HTML and XHTML attributes - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

HTML style attribute

Style attributes - for the definition of HTML tags used by the style
  • Not in line with standard Web design concepts, web design standards have been abandoned.
  • Trackback Address: http://www.nt22.com/xhtml-html/attribute_style/

Example

  <p Style = "font-size: 12px;color: #000;" /> use css </ p> 

Note

  • CSS in the process of loading, the best style attribute to avoid the use of this property has been abandoned w3c future in the HTML version of this property may be removed.
  • CSS in the process of loading, the best use of class attributes (or id attribute), which is the standard method.

Extended reading

Reference