Summary of the main attributes of the body tag

Summary of the main attributes of the body tag
bgcolor="text color" background="background image"

text="text color"

Hyperlink text color

In order to highlight the hyperlink, the hyperlink text is usually in a different color from other text, and a horizontal line is added at the bottom of the hyperlink text.
Hyperlink text in HTML text has default colors, and these colors can also be customized in the markup. There are 3 properties:
⑴ link: the color of unvisited hyperlinks ⑵ vlink: the color of visited hyperlinks ⑶ alink: the color of a hyperlink when the mouse is clicked
like :
Document margins By default, the document is displayed at a certain distance from the browser border. You can customize the distance between the document edge and the window by adding properties in the markup.
⑴ topmargin: the size of the top margin of the document ⑵ leftmargin: the size of the left margin of the document ⑶ rightmargin: the size of the right margin of the document ⑷ bottommargin: the size of the bottom margin of the document
like :
The unit of edge size here is "pixel".

<<:  Inspiring Design Examples of Glossy and Shiny Website Design

>>:  JavaScript Basics Variables

Recommend

Detailed steps to install docker in 5 minutes

Installing Docker on CentOS requires the operatin...

A brief understanding of the differences between MySQL InnoDB and MyISAM

Preface MySQL supports many types of tables (i.e....

A brief discussion on the use of Web Storage API

Table of contents 1. Browser local storage techno...

How to implement Hover drop-down menu with CSS

As usual, today I will talk about a very practica...

Detailed explanation of chmod command usage in Linux

chmod Command Syntax This is the correct syntax w...

Difference between querySelector and getElementById methods in JS

Table of contents 1. Overview 1.1 Usage of queryS...

jQuery plugin to achieve image comparison

This article example shares the specific code of ...

Do you know how to use the flash wmode attribute in web pages?

When doing web development, you may encounter the...

Let the web page redirect to other pages after opening for a few seconds

Just add the following code to achieve it. Method ...

MySQL exposes Riddle vulnerability that can cause username and password leakage

The Riddle vulnerability targeting MySQL versions...

Preventing SQL injection in web projects

Table of contents 1. Introduction to SQL Injectio...

Cleverly use CSS3's webkit-box-reflect to achieve various dynamic effects

In an article a long time ago, I talked about the...

How to install docker on centos

Here we only introduce the relatively simple inst...