font Tag for more Font style

font Tag for more Font style

It is used to add style, size, and color to the text and a <basefont> tag can be used to set all of text to the same size, face, and color. Both <font> and <basefont> tags are not used now but CSS is used to manipulate font. Text between the opening tag <font> and the closing tag </font> 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 HTML5 Certification Now!!

http://www.vskills.in/certification/Certified-HTML5-Developer

Back to Tutorial

Share this post
[social_warfare]
hr-Tag for Horizontal Lines
Table Structure

Get industry recognized certification – Contact us

keyboard_arrow_up