html p font size and color

 

 

 

 

15.2 Fonts. The following HTML elements specify font information. Although they are not all deprecated, their use is discouraged in favor of style sheets.The FONT element changes the font size and color for text in its contents. This text is red and size 5. . Both will work correctly, but the latter example is considered better coding.It does not have an ending tag. Only one BASEFONT tag should be used in any given HTML document. Only affects text in a normal area. FONT SIZE We are going to learn font attributes The first attribute is size. Size can use the Heading tag

or the Size Attribute tag, You do notHowever, most web developers have to refer to an HTML chart for tags they dont use frequently, just as they have to refer to color charts. The HTML tag defines the font size, color and face of text in the HTML document.Relative values can be values such as 1 or -2, increasing by one font size or decreasing by 2 font sizes, respectively. HTML 4.01, HTML 5. Give them a class and add your style to the class.

. this shows you how to change the font color and size of the HTML text that we want to be using.HTML Tutorial 08 Changing the Background Color, Text Color and Font Color - Продолжительность: 7:44 Gaute Michel Ferstad 123 430 просмотров.

new posts


Copyright ©