Learn Difference Between
HTML Style Attribute and Font Tag
Interested in learning more
about website
designing? Here are
some beginner tips you can use! This video teaches
about the difference between the font tag and HTML
style attribute.
The font tag is the older
method used to style HTML elements such as font,
size, color, etc., as there was no CSS (cascading
style sheets) design.
Study Class for HTML Coding
in Web Pages - Video Lessons for Web
Design Beginners
The Hyper Text Starting
Point
All elements had to start
with HTML tags, which created a mass problem
because all had to be styled individually and
changed individually for future website updates.
The new hypertext attribute makes it easier to work
with large websites. It's good to be familiar with
the original font tag because many older sites
still have them. So here's an example of what the
older font tag code looks like:
<font face="Verdana"
size="2" color="#999999"> This is an example of
font tag styled text.</font>
Designing with the Style
Attribute (with CSS code)
To achieve the same results,
type the following style attribute:
Using the style attribute is
the proper way to design these days and will save
you time as you learn to use CSS methods. With CSS
design, coding text and other functions such as
with the HTML style attribute can be written once
for any section of a web page and remain the same
throughout the entire website once the style sheet
has been created.
This means if there are areas
of your site that need to remain "uniform" in
design throughout or on every single page, you can
create these areas using style attributes and save
them into a style sheet file, such as style.css.
When you need to change a color, text size, etc. on
all pages, you'll just make the change to the one
.css file.
Consider learning CSS and
other HTML functions through a complete
website design training
course if you're new
to design or want to improve on your skills. Web
development is always on the move, so even if
you're not new to designing, there's much to learn
when making new websites or editing your own. Use
this video about the HTML style attribute and
others to make the most of your design
skills.