HTML Font element

About

In HTML 4, all styling html element have been deprecated in favor of CSS because the markups (ie element) should be style-independent and define only logical component.

Therefore you should define your font with CSS. See the CSS font page

font in HTML is an element that permits to define the font properties for a text.

This is by default an inline element and therefore can be used to change text visualisation in a paragraph

Example

<font color="fuchsia" >fuchsia color name</font>

Documentation / Reference





Discover More
CSS - Cascading Style Sheets - Markup Language ( HTML |XML) Skin

CSSHTML CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc. CSS = Skin of HTML SVG XML World Wide Web Consortium...
CSS - Font

This page is font in CSS and html. From a web perspective, a font is considered to be a media resource and can be included in any page from any origin. the font-size is set on the body to be able...
CSS - Inline Box

CSS This page is inline box in the block formatting layout context. Inline box can be generated: by default from an inline element or by setting the display property. Inline-level elements...
Color in HTML

How colors are defined in HTML
How to preload HTML resource (Javascript, StyleSheet)

This article shows you how to preload HTML resources to use them at a later time.



Share this page:
Follow us:
Task Runner