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