Horje

Full Example of Fonts Family of Text with HTML <h1> <p>

The CSS font-family property defines the font to be used for an HTML element:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1 style="font-family:verdana;">This is a heading</h1>
<p style="font-family:courier;">This is a paragraph.</p>

</body>
</html>

Output should be:

Full Example of Fonts Family of Text with HTML <h1> <p>




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Styles
Uploaded by:
Admin