Describes in detail the internal parameters of the html body tag.

Source: Internet
Author: User

<Body

Bgcolor = "# 3366cc" ---------- background color

Topmargin = 0 leftmargin = 0 ---------- Webpage The upper/left boundary of the content is 0.

Oncontextmenu = "Return false" ---------- right-click

Ondragstart = "Return false" ---------- disabled Mobile

Onselectstart = "Return false" ---------- select prohibited

Oncopy = "Return false;" ---------- copy prohibited

Onpaste = "Return false" ---------- disable pasting

Oncut = "Return false;" ---------- cut prohibited

Scroll = No ---------- webpage scroll bar restrictions

Style = "overflow: Scroll; overflow-Y: hidden; overflow-X: hidden;" ---------- defines Vertical Horizontal hiding of the scroll bar.

Style = "cursor: Move"> ---------- webpage Mouse Style selection

Generally, the mouse is displayed with an oblique arrow. When you move the cursor over the text, it becomes a vertical line with a head. When you move the cursor over the hyperlink, it becomes a hand shape. However, CSS can be used to control the Display Effect of the mouse. For example, you can move the mouse over common text and display it as a hand shape. CSS-controlled Syntax As follows:

<Span style = "cursor: *"> text or other page elements </span>

Note: The span can be other tags, such as P, Font, and Div.

Replace * with the following 16 Effect Such as hand, text, and wait.

The following describes the 16 effects. Move the mouse over the description to see what changes have taken place with your mouse!

Hand is a hand-shaped

Crosshair is a cross type

Text is the effect of moving to text.

Wait is the effect of waiting

Default is the default effect.

Help is a question mark

E-Resize is the right arrow

Ne-Resize is the right arrow

N-Resize is the up arrow

NW-Resize is the arrow to the top left.

W-Resize is the left arrow

Sw-Resize is the lower left arrow

S-Resize is the downward arrow

Se-Resize is the right arrow

Auto is composed System Automatically Display Results

Move is the effect of moving

"*" Can also be the file address of the mouse image.

Step 1: Create an arrow_r.cur icon.

Step 2: body {cursor: URL ("arrow_r.cur"), URL ("arrow_r.cur"), default ;}

Step 3: connect CSS <LINK rel = "stylesheet" type = "text/CSS" href = "site.css">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.