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

Basic usage knowledge points of mini programs (very comprehensive, recommended!)

Table of contents What to do when registering an ...

MySQL gets the current date and time function

Get the current date + time (date + time) functio...

What is the use of the enctype field when uploading files?

The enctype attribute of the FORM element specifie...

Detailed steps for quick installation of openshift

The fastest way to experience the latest version ...

Vue project packaging and optimization implementation steps

Table of contents Packaging, launching and optimi...

How to use the Linux md5sum command

01. Command Overview md5sum - Calculate and verif...

MySQL partition table is classified by month

Table of contents Create a table View the databas...

A brief discussion of 12 classic problems in Angular

Table of contents 1. Please explain what are the ...

The implementation process of Linux process network traffic statistics

Preface Linux has corresponding open source tools...

Complete steps to configure IP address in Ubuntu 18.04 LTS

Preface The method of configuring IP addresses in...

Explanation of the usage scenarios of sql and various nosql databases

SQL is the main trunk. Why do I understand it thi...

Front-end advanced teaching you to use javascript storage function

Table of contents Preface Background Implementati...

Solve the conflict between docker and vmware

1. Docker startup problem: Problem Solved: You ne...

Eight rules for effective web forms

If you're collecting information from your us...