CSS controls the font size of the H1 tag on the webpage. The H1 tag is often used in the webpage design to optimize the keyword, but the font is really uncomfortable. Let's get rid of it!With CSS, you can easily solve the following problems:Www.111cn.net is a technical reference website that provides You can see th
H1/H2/H3/H4 title tags are often used in a Web page with unique headings, important columns, important headings, and so on. H1 is best used only once in a Web page, such as a unique title for a Web page. H2, H3, H4 tags can appear multiple times in a Web page, but it is necessary to add or add too much.In web front-end development, keywords are often optimized using H1
CSS pseudo class (lower) structure pseudo class \ UI pseudo class \ Dynamic pseudo class and other pseudo class valid check enable child required link visit, uivalid
: Checked check takes effect
Html file
You cannot name a CSS class at the beginning of a number
Please do not use the Arabic 1, 2, 3, 4 to name the CSS pseudo class, or it will cause the browser can not explain the interpretation of the number at the beginning of the CSS cla
This article is written in notes form.1, CSS class selector detailedHttp://www.w3school.com.cn/css/css_selector_class.aspKnowledge Points:(1) The premise of using class selector is to add a class attribute to the tag, such as (2) The syntax of the
CSS class selector (4) and css class selectorI. class selector
Class selection uses "." (English dot) for identification, followed by the class name
For example:
.red{color:red;}
CSS pseudo-elements and pseudo-classes may be confusing for students who just learn CSS, as the official documentation explains: CSS pseudo-classes are used to add special effects to certain selectors, and CSS pseudo-elements are used to add special effects to certain selectors. So, what is the difference between a
Css pseudo-class, pseudo-element, and css pseudo-class Element
The pseudo class acts on the entire element, for example:
A: link {color: #111 ;}
A: hover {color: #222 ;}
Div: first-child {color: #333 ;}
Although none of these conditions are based on Dom, none of the Results
css| Specification | Web page
Web developers (that is, you) can identify the div and other page elements and tags by creating CSS classes and ID names and using those names. For developers, when naming CSS selectors for redefining XHTML tags (tags), you must ensure that they match exactly the predefined tags, but in terms of
In css, the class selector adds a dot before the class name. If a class is not followed by multiple dots. important. urgent. Next I will introduce the usage of CSS class selectors and multi-cl
Article Introduction: the class name intersection compound selector using CSS.
First look at the basic definition:
A composite selector is a selector of two or more basic selectors that are connected in different ways, mainly including the intersection selector, the and set selector, and the descendant selector.
Intersection Selector
The intersection compound selector is composed of two sele
Some interesting CSS questions (10) -- structural pseudo-class selector and css Selector
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not only to broaden the problem-solving ideas, but also to involve CSS details that are easy to ignore.
Compatibili
The difference between the two is really an old question. But to this day, because of various network misinformation and some irresponsible books mistakenly, there are still quite a lot of people confuse pseudo-class with pseudo-elements, even many CSS veteran. Early in the beginning of the entry, I myself was deeply misled, because the forum most of the posts do not care about the nuances of this concept,
Just contact Pseudo-class and pseudo-elements, seniors recommend to read this article, at that time read several times did not read, still feel this article obscure difficult to understand, now re-read, feel really a good article, now share to everyoneTo the blog from the Sunflower Sword @ Sword EmptyThe text is as followsThe difference between the two is really an old question. But to this day, because of various network misinformation and some irres
The difference between the two is really an old question. But to this day, because of various network misinformation and some irresponsible books mistakenly, there are still quite a lot of people confuse pseudo-class with pseudo-elements, even many CSS veteran. Early in the beginning of the entry, I myself was deeply misled, because the forum most of the posts do not care about the nuances of this concept,
The difference between the two is really an old question. But to this day, because of various network misinformation and some irresponsible books mistakenly, there are still quite a lot of people confuse pseudo-class with pseudo-elements, even many CSS veteran. Early in the beginning of the entry, I myself was deeply misled, because the forum most of the posts do not care about the nuances of this concept,
It is generally used in the following situations:
Test001.jsp
When two styles are used, separate them with spaces.
Test002.jsp
------------------------------------------------------------------Priority:
Icocom has a higher priority than ico001
------------------------------------------------------------------
Benefits:
CSS file
Div # contents h1.ico001 {
}
1 Pseudo-class effect : CSS pseudo-class is a special effect used to add some selectors.2 Common examples:2.1anchor Pseudo-class: code:Normal syntax: a{color: #FF0000 ;} /* text color */ Pseudo-Class syntax:A: Link {color:#FF0000;} / * non-visited links * /
When using the mouse to move out of the event, there are generally two ways, one is the DOM event "onmouseover" and "onmouseout", there is a CSS pseudo-class ": hover".How to choose in practice depends on the clear understanding of the difference between them.
The HTML DOM allows JavaScript to respond to HTML events.When we bind an event to an element, a piece of JavaScript code can be executed when t
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.