Site icon Tutorial

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

Apply for HTML Certification

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

Back to Tutorials

Exit mobile version