HTML Elements and Attributes that Control the Visual Format, Style, Structure and Font of Text

HTML Elements and Attributes that Control the Visual Format, Style, Structure and Font  of Text
Below is a list of the most commonly used*** html element tags that control the text on the webpage.

Note: Some attributes listed below have been depreciated in favor of Cascading Style Sheets.

Controls Visual Format, Style, Structure and Font of Text
ElementOpening TagAttributesClosing TagDescription
center<center>deprecated</center>Visual format - centers content on webpage
b<b> </b>Text style - text with bold format
i<i> </i>Text style - text with italic format
sub<sub> </sub>Text style - places text below regular line of text
sup<sup> </sup>Text style - places text above regular line of text
u<u>depreciated</u>Text style - text will be underlined
blockquote<blockquote> </blockquote>Text structure - defines a section to be indented from both the left and right margins
br<br>clear="position"NoneText structure - forces text to end and starts text on the next line

align - set to left, right or all
em<em> </em>Text structure - text with emphasis format
p<p>align="position"OptionalText structure -
Specifies start and end of paragraph
Forces a space between paragraphs

align - set to left, center or right
strong<strong> </strong>Text structure - text with strong format

</font>Text font modification - controls the typeface (font) on your webpage

face - name of font
size - size of font
color - color of font**
***A complete list of html element tags can be found at the World Wide Web Consortium (W3C) website.
**Color can be set using color names (red, black, etc) or RGB color codes or hexidecimal color codes.

This site needs an editor - click to learn more!

Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map

Content copyright © 2023 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.