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

Get industry recognized certification – Contact us

Menu