1. What are CSS selectors?Type selector (body), group selector (h1,h2,h3,span), include selector (H2 span), ID selector (#id), class selector (. Content)2. What attributes can be inherited?Class attribute, pseudo-Class A tag, list ul, Li, DL, DD, DT
CSS unit, cssem UnitNumber
CSS has two types of numbers: integer and real number (decimal)
Percentage
The percentage is always relative to a value.
Color
[1] keywords17 valid naming colors (Standard colors ):
Aqua/fuchsia/lime/olive/red/white/black/
The compatibility problem and solution of IE and Firefox are as follows:
To help you read the code, replace Internet Explorer with IE and Mozzila Firefox with MF/FF:
1. // window. eventIE: window. event objectFF: There is no window. event object.You
CSS font and css Font StyleFont family
[1] Five General fonts: Family of fonts with similar appearances
Serif font: the font size is proportional to the font size, and the font size is low or low, including Times \ Georgia \ New century
Css initial, initial
A Brief Introduction to the initial attribute values of css:It is used to set the css property value to its default value, that is, the css property value set by the browser by default.This keyword can be used for any CSS
CSS basics 11: Priority of Selector
In the basic CSS learning chapter, I started from the fourth blog to talk about selector, which was basically finished yesterday. To sum up today, the selector
Usage: tells the browser which dom element style
CSS basics 8: derived Selector
In CSS syntax, you can define styles Based on the context relationship of elements in their positions. You can make tags more concise.
In CSS1, selectors that apply rules in this way are called context selectors
Getting started with HTML and CSS-Chapter 5 using text blocks and lists,
Knowledge point:
1. Align text on the page
2. How to use the three types of HTML list
3. How to place a list in the list
5.1 align text on the page:
Center of the child
Use of the anchor in the tag in htmlIn html, the tag is frequently used as a hyperlink. When we browse the Web page, we often see another function of the tag-the anchor. In general, it is to mark some locations on the page for easy searching in
HTML learning 13: body tags of other common tags
After talking about the header label in the previous blog, we mainly talk about the label in the HTML part this time.
ITag
Div tag defines a partition in the document,An element is a block-level
Significance of similar elements --- HTML & CSS, element meaning --- html1.
Effect:Tell the browser that this is a short reference, so that the browser can display it in an appropriate wayNote: cannot be directly replaced by double quotation marks,
High collapse and collapse
On iOS devices -->
1 2 3
-->
When the height and width of the parent element are not set. Then its height will collapse to zero, provided that it only contains floating elements. It is very easy to solve the
CSS3-3D ConversionCSS3-3D conversion instance
hello. This is a div element. hello. This is a div element. Note: Internet Explorer and Opera do not support the rotateX method.
Html font Control first page This is the first line This is the second line. : line break --> This is the third line : converts the content into italics --> This is the fourth line : converts the content into an underscore --> This
[C] exchange two numbers of contentAllow creating temporary variables
# Include int main () {int a = 2, B = 5; int temp = 0; temp = a; a = B; B = temp; printf ("% d, % d \ n ", a, B); return 0 ;}
2. Temporary variables cannot be created. ①.
Css implements a writing format1. The analysis result looks very simple, but it may not be so easy to implement. First, everything is displayed in the center, except for the title "Dear starof. This is also a difficult point and the key point of
Merge rows and columns in html Table my fourth page first and second columns of the first row first column of the Second row second row and second column first column of the First row and first column of the Second row
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