HTML/CSS Study Notes

Source: Internet
Author: User

margins : Margin
inner margin : padding


connection : href
A:link (not accessed)
A:hover (mouse hover)
A:visited (visited)
A:active (mouse click and release directly)
Order: Link-visited-hover-active

To set properties:
color-Setting Font Color
Background-color setting the background color of a link
Text-decoration remove the underscore from the link (none underline)

Selector :
Derived selectors: The style is positioned by the context of the element in its place. Example: Li strong{}
ID selector: The ID selector allows you to specify the style of the feature for an HTML element labeled with a feature ID. #red {}
ID is often used with derived selectors #sidebar p{}
Class selector:. center{}
As with the ID, class can be used as a derived selector. Fancy td{}
Property selector: You can set the style for the HTML element that owns the specified property [trtle]{} or [title=w3school]{}


Allow long words or URL addresses to wrap to the next line: Word-wrap
Normal only breaks lines at allowed hyphenation points
Break-word line wrapping within a long word or URL address.

Italic Body:

Em

HTML/CSS Study Notes

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.