logo
g Text Version
Auto
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Society & Culture
Sports
Travel & Leisure
TV & Movies

dailyclick
Bored? Games!
Postcards
Astrology
Take a Quiz
Rate My Photo

new
Spirituality
Home Improvement
Vegetarian
NASCAR
Southcentral USA


dailyclick
All times in EST

Full Schedule
g
g HTML Site
Elizabeth Connick
BellaOnline's HTML Editor

g

HTML Elements and Attributes that Control the Visual Format, Style, Structure and Font of Text
Guest Author - Diane Cipollo

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<font>depreciated

face="?"
size="?"
color="color"
</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.
http://www.w3.org/TR/REC-html40/index/elements.html
**Color can be set using color names (red, black, etc) or RGB color codes or hexidecimal color codes.





RSS | Previous Features | Site Map


Content copyright © 2008 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 Elizabeth Connick for details.

Digg! g delicious Save to Del.icio.us

g


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor

g features
Setting Your Webpage Background

Multiple-Choice Input Fields for HTML Forms

The Right Way to Start a Paid Website Project

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Driving Amount
Much more
Slightly more
Slightly less
Much less

g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2008 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor