AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
HTML Tutorial

HTML Font Size


HTML Tutorial » HTML Font Size

The font tag is having three attributes called size, color, and face to customize your fonts.
To change any of the font attributes at any time within your webpage, simply use the <font> tag.
The text that follows will remain changed until you close with the <font> tag.
You can change one or all of the font attributes within one <font> tag.

Syntax:
<font size="number">


Note: The size attribute of <font> is not supported in HTML5. Use CSS instead.
CSS syntax: <span style="font-size:14px"> My text here</span>


HTML font size - examples



Example: Specify the size of text:
Example 1 My first HTML page HTML font size - examples:

<!DOCTYPE html>
<html>
<head>
<title>HTML Font Size</title>
</head>
<body>

<h1>Tis is an example of HTML Font Size</h1>
<font size="3">Nere is my text! with font color size 3 </font> <br />
<font size="4">Nere is my text! with font size 4 </font> <br />
<font size="5">Nere is my text! with font size 5</font><br />

</body>
</html>
Note: The size attribute of <font> is not supported in HTML5. Use CSS instead.
CSS syntax: My text here


html font size
HTML Font Size - html tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


HTML Img Background
HTML Image Link
HTML Image Size
HTML Text Style
HTML Text Align
HTML Text Size
HTML Text Color Style
HTML Text Color
HTML Table Color
HTML Table Row Colspan
HTML Table Width
HTML Table Style
HTML Table Border
HTML Table
HTML Font Face
HTML Font Size
HTML Font Color
HTML Headings
HTML div border color
HTML div class
HTML class container
HTML form action
HTML comment
HTML link new tab
HTML link underline
HTML link tag
HTML button action
HTML button onclick
HTML button link
HTML table style
HTML image
HTML colors
HTML div style
Text, paragraf in HTML
HTML Tags Attributes
HTML - Elements
HTML Introduction
Home HTML Tutorial
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.