Explain the internal parameters of the body tag of HTML in detail

Source: Internet
Author: User
Tags return

<body
Bgcolor= "#3366cc"----------background color
Topmargin=0 leftmargin=0----------Page content/left border is 0
Oncontextmenu= "return false"----------the right mouse button limit
Ondragstart= "return false"----------prohibit movement
Onselectstart= "return false"----------prohibit selection
Oncopy= "return false;"----------prohibit copying
Onpaste= "return false"----------no paste
Oncut= "return false;"----------prohibit clipping
Scroll=no----------Web scroll bar restrictions
Style= "Overflow:scroll;overflow-y:hidden;overflow-x:hidden;" ----------defines the vertical horizontal hiding of the scroll bar.
style= "Cursor:move" >----------Web Mouse Style selection

<body bgcolor= "#3366cc" topmargin=0 leftmargin=0 oncontextmenu= ' return false ' ondragstart= ' return false ' Onselectstart= "return false" style= "Cursor:move" Scroll=no><p><center><font color= #ffffff > Www.webjx.com</font></center>

[Ctrl + A ALL SELECT hint: You can modify some of the code, and then run]

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

In general, the mouse is displayed with a diagonal arrow, a vertical line that becomes a header when moved to the text, and becomes a hand type when moved to the hyperlink. However, with CSS you can control the display of the mouse, such as the mouse can be moved to the normal text is also shown to hand-type. The syntax for using CSS controls is as follows:

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

Note: The span can be other tags, such as: P, font, Div, and so on.
Change the * to one of the following 16 effects: Hand,text,wait and so on.
Here is an explanation of these 16 effects. Move the mouse to explain the above, and see how your mouse changes it!
Hand is hand-shaped
Crosshair is a cross type.
Text is the effect that moves to the text
Wait is the kind of effect that waits
Defaults are the default effect
Help is a question mark
E-resize is the arrow to the right
Ne-resize is the arrow on the right
N-resize is the UP arrow
Nw-resize is the arrow on the left.
W-resize is the left arrow
Sw-resize is the arrow on the lower left
S-resize is the downward arrow
Se-resize is the arrow down the right
Auto is the system automatically gives the effect
Move is the effect of moving

"*" can also be the file address of the mouse picture.

STEP1, make an icon arrow_r.cur
Step2,css Body {cursor:url ("arrow_r.cur"), url ("Arrow_r.cur"), default;
STEP3, the page is connected 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.