How to Change the Font Type Using HTML Programming
How to Change the Font Type Using HTML Programming
Coding an HTML page to use a certain font is a cool thing, and it styles a HTML page with the font of your choice. This article will explain how to do it.
Steps

Have your "HTML markup" well under way in your editor of choice. If you're new to this, look up instructions on creating your first HTML page.

Find the point in your HTML page where you would like to specify the font to be used. It will be at the start of the chosen text; a sentence or paragraph.

Remember that we tell the web browser, via our HTML, how to present our text using "attributes". These precede and end the piece we would like to alter the appearance of. These attributes are marked with special symbols which the browser recognizes as special commands to be used to control the content. These are < and >.

Know the initial part of the attribute. It is as follows: The tag can still be used, but it is deprecated. The face attribute of the tag allows you to use a font locally installed on the system. You can also use fonts defined with the CSS @font-face at-rule.

Close the text with the following closing attribute, after specifying the section of it to be changed.

Go back to using the font and settings you normally use in your browser. Notice the slash on the opening "closing" attribute. That will give you the complete command in HTML.

What's your reaction?

Comments

https://rawisda.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!