HTML font marker and attributes
We are here to be talking about is the text of the marker, including font size, colors, fonts … and other changes, the appropriate application can increase the appearance pages!
Common font marker
<Hn> …</ Hn> title, the title font size settings, n = 1 (a) to 6 (small) will automatically jump into the party. Usually used in such as chapters, paragraphs, etc. title.Such as: <H2> heading </ H2>
Title
Such as: <H3 ALIGN = CENTER> heading </ H3> (Heading home)Title
<B> …</ B> bold.Such as: <B> bold </ B>
Bold
<I> …</ I> italics. Such as: <I> italics </ I>
Italics
Such as: <U> Underline </ U>
Underline
Such as: <DEL> underlining </ DEL>
Line
Such as: a font <TT> </ TT>
A font
Such as: fonts <SUP> superscript characters </ SUP>
Superscript font characters
Such as: fonts <SUB> subscript characters </ SUB>
Font subscript characters
<!…> Notes (not shown in the browser), and multi-line.
Such as: <! Update: 2000/1/1>
Set font size, colors, fonts
[Method for the creation of a total of the following:
1. HTML document set main text color. <BODY> …</ BODY> marker.
Such as: <BODY TEXT=RED> …</ BODY> or <BODY TEXT = # FF0000 >…</ BODY>
2. Set basic font size, colors, fonts. <BASEFONT> …</ BASEFONT> marker.
3. Set font size, colors, fonts. <FONT> …</ FONT> marker.
<BASEFONT> …</ BASEFONT> Settings basic fonts, SIZE = 1 ~ 7,1 (minimum) 7 (maximum). Such as: <BASEFONT SIZE=4> basic font size 4 </ BASEFONT>
Basic font size 4
Such as: <BASEFONT COLOR =#FF0000> set color </ BASEFONT>
Sets the color
Such as: <BASEFONT FACE = font setæ ‡æ¥·ä½“,细明体> </ BASEFONT>
Font set
Such as: <BASEFONT SIZE=4> basic font size 4, </ BASEFONT>
<BIG> Increase of 5 </ BIG>
Basic font size for 4, increasing 5
Such as: <BASEFONT SIZE=4> basic font size 4, </ BASEFONT>
<SMALL> Decreased 3 </ SMALL>
4 basic font size, reduced to three
Such as: <FONT SIZE=4> font size 4 </ FONT>
Font size 4
Such as: <BASEFONT SIZE=4> basic font size 4
<FONT SIZE= 1> a font size of 5 </ FONT>
<FONT SIZE=-2> -2 font size for 2 </ FONT >…</ BASEFONT>
Basic font size 4
1 font size 5
-2 Font size 2
Such as: <FONT COLOR =#FF0000> set color </ FONT>
Sets the color
Such as: <FONT FACE = font setæ ‡æ¥·ä½“,细明体> </ FONT>
Font set
Notes
1. Set the font size: If absolutely SIZE: <FONT SIZE=4>
And the relative SIZE such as: <FONT SIZE= 1> (BASEFONT set the font size to do addition and subtraction).
2. Set the font color can be color name or # RRGGBB table red-green-blue intensity (dark-FF-00). # RRGGBB represent the red, green, blue RGB, each by two hexadecimal color values (ie decimal 0 ~ 255).
HEX: 0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F.
3. Fonts, font settings will be displayed in accordance with the order to identify the font, if the system default font while not show.
Tags: Font, Font Family, Font Size, Font Style, Font Variant, Font Weight






Leave a Reply