HTML color directive
In the design of HTML web pages, various color commands are always needed, such as web page background color, text color, web element color, element border color, and other color requirements. Different web page elements need to use different color commands. Specify the color, such as setting the color of the entire web page, which can be directly specified in the body tag. Please refer to the following common color instruction table. It is recommended to refer to the CSS alternatives in the table. HTML5 can get better support. In addition, you can "Color code table" found many nice colors.
HTML common color instruction list
Color instructions | Instructions | CSS alternative |
bgcolor | Web page background color | background-color |
text | Text color | CSS color text color |
link | Hyperlink color | Modify the hyperlink color |
vlink | Link color already seen | Modify the hyperlink color |
alink | The color of the mouse cursor link | Modify the hyperlink color |
Post a Comment
0 Comments