"; 2. Use the style attribute of the body element, the syntax ""."> How to set web page color in html-HTML Tutorial-php.cn

How to set web page color in html

青灯夜游
Release: 2021-12-10 15:18:25
Original
21050 people have browsed it

html Method to set the color of the web page: 1. Use the bgcolor attribute of the body element, the syntax "

"; 2. Use the style attribute of the body element, the syntax "< ;body style="background: web page color value;">".

How to set web page color in html

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

htmlSet the web page color

1. Use the bgcolor attribute of the body element

    
  正常文本  
Copy after login

How to set web page color in html

2. Use the style attribute of the body element

    
  正常文本  
Copy after login

How to set web page color in html

Recommended tutorial: "html video tutorial

The above is the detailed content of How to set web page color in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!