The essential strategy, which has been the key factor in the improvement
of our web experience in recent years (along with more
standards-compliant browsers) is this:
You should not clutter up your HTML with any code affecting the way it
looks, except to add classes or id's to the HTML elements which are
defined in your CSS document(s) — ideally, not even to use inline CSS.
Rick Gordon
--------------------
On March 16, 2018 at 2:29:55 PM [-0700],
Rick Gordon wrote in an email entitled
"Re: HTML authoring - specifying a font":
Technically, you could, but it's considered very bad practice in any
to use any font tags in HTML. And font tags have been deprecated for
years. You should always assign fonts (and, as much as possible, any
code affecting presentation) in CSS, and you can assign them to the
body element there.
The one possible consideration where it might be considered acceptable
is in HTML email, but even there, you should assign it as CSS (using
font-face or font-family).
Don't do it!
___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.