font tag for more Font style

It is used to add style, size, and color to the text and a tag can be used to set all of text to the same size, face, and color. Both and tags are not used now but CSS is used to manipulate font. Text between the opening tag and the closing tag is changed as per values given, example is shown

HTML code <p>This <font face=”Comic sans MS” size=”5″ color=”#FF00FF”> is paragraph 1 </font></p> <p>This is paragraph 2</p>Browser output The font Tag for more Font style

Apply for HTML Certification

https://www.vskills.in/certification/certified-html-designer

Back to Tutorials

Share this post
[social_warfare]
hr tag for Horizontal Lines
em tag for Emphasis

Get industry recognized certification – Contact us

keyboard_arrow_up