HTM basics, CSS link-in, and tag classification.

Source: Internet
Author: User

<! doctype> doc--document Document type Type document types tell the browser what this file is

Single label :

Meta settings charset set encoding

Double Label: start Tag -- end tag

HTML root element ancestor element

Title Set Caption

Body

Head Header Element

How CSS styles are introduced:

1. Inline Style Direct Properties style lead Property writes quotation marks inside

2. internal style written inside the head title under the style tag inside

3. The external style is written in the CSS file under the CSS package via the link tag to introduce ()

Label Category:

1. block element default one row and exclusive row

2. the inline block element does not occupy a single line, wide and high can be set.

2. in-line elements do not occupy a single line, width, height is not set.

display can be freely converted into inline blocks (inline-block), block elements (blocks). In-line element (inline)

Ol or ul label settings list-style to remove the label 1.2. .....

Float floats are automatically converted to inline block elements after floating without leaving a gap.

the inner block element is centered by simply setting Text-aligh to its parent element :Center;

Link set title icon rel value for icon href link picture

Insert Font NOTE: The font color, size, position.

HTM basics, CSS link-in, and tag classification.

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.