HTML & amp; CSS_Basic_01, html tutorial

Source: Internet
Author: User

HTML & CSS_Basic_01, html tutorial

// JerryWeb

// 20150602

// HTML | CSS | Basic

 

======= HTML & CSS_Basic_01 ========
 
# Html must be semantic-oriented, and a beautiful and clear structure should be maintained even if no css is available.
Em and strong tables emphasize | span has no semantics and sets a separate style | q reference | blockquote long text reference | br/| address | pre multi-row original text display
Table tbody tr row td column th header | img alt: Download failed text title: prompt text
# Form, method: post | interaction between put and backend,
# Input-> type: text | password | radio | checkbox | submit | reset...
Name: for a single region, the names of the same group must be consistent.
Value:

# Fixed css link <link href = "Path/style.css" rel = "Stylesheet" type = "text/css">
# Css has three forms: Intra-row, intra-head style label chain, link css outer, and proximity principle. Near, the priority is high.
# Tag selector. The class selector can be group multiple times, and the ID selector can only be marked once.
# Sub-selector:. food> li (use> only the first sub-tag can be selected)
. Food span (space can be used for all)
. Food, span (select the food class and span labels)
# Pseudo-class selection a: hover
# Determine the order by weight! Label 1 class 10 id 100
# 2em represents 2 times the unit of font-size
# Line-height: 1.6em; border: 1px solid red; font-family: Yahei; font-weight: bold; font-style: italic; text-decoration: underline | line-through
# Text-indent: 2em; letter-spacing: 50px; word-spacing: 50px; text-align: center | L | R

Related Article

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.