First,Special selectors1. * Used to match any mark2.> for specifying Parent-child node relationships3. E + F adjoins the element selector, matching all sibling elements immediately following the E element f4. E ~ F matches the sibling element after
All tags must be in lowercase.
In XHTML, all tags must be in lower case, and cannot be entered in case-insensitive or all tags must be in upper case. The example is as follows.
Error:
Correct:
Tags must be paired
Like
...,...,... Tags,
Http://www.zishu.cn/blogview.asp? LogID = 773
CSS is rarely written recently and may be rarely written in the future. I 'd like to share some of my experiences with you and hope to help you!
This article focuses on the CSS section that improves the
CSS design guide, Study Notes 1, css design guide
This article is about some notes and Experiences after reading Charles Wyke-Smit's "CSS design guide" over the past few days. I seem to be getting started with web design when I was a freshman,
Reference Method on the same page:1. Use id:Link1.href2. Use name:Document. all. link1.href3. Use sourseIndex:Document. all (4). href // note that there are HTML, HEAD, TITLE, and BODY in front, so it is 44. Use a link set:Document. anchors (0 ).
Ask php regular expression to go away. Okay, so I have a few questions and don't need regular expressions. let's see how I solve them. 1. clear all tags in HTML and only keep the hyperlink. I use strip_tags. Strip_tags ($ data, $ tags) $ data is
Ctrl+e,d----Formatting All the code (if this is not possible: Ctrl + K + D) ctrl+e,f----Formatting the selected code ctrl+j or Ctrl+space or Alt+right- -----Auto-Complete or prompt (Ctrl+space because the Chinese input method
VS2010 Edition shortcut keysctrl+e,d----Formatting All code ctrl+e,f----formatting the selected code ctrl + SHIFT + B Build Solution ctrl + F7 Generate compilation ctrl + O Open File ct RL + SHIFT + O Open Item ctrl + SHIFT + C Display Class
VS2010 Edition Shortcut ctrl+e,d----formatting all code ctrl+e,f----formatting the selected code CTRL + SHIFT + B Build Solution Ctrl + F7 build Compile Ctrl + O Open File Ctrl + SHIFT + o Open Project ct RL + SHIFT + C Display Class View window F4
Note:: VS2010 is (ctrl+e,c), VS2012 is (ctrl+k, CTRL + C), the actual operation, hold down the CTRL key, press the K key, and then press the C key. Equivalent to Ctrl+k Plus CTRL + C key combinationInverse: VS2010 is (ctrl+e,u), VS2012 is (Ctrl+k,
Document. All [] is added to the object model of ie starting from ie4. Let's take a look at the description of document. All:Array of all HTML tags in the document. Collection of all elements contained by the object.That is to say, document. All []
Tag: Hello requires element ROM example structure format TTL nbspThe last article of the regular, in fact, for many people to use it is inconvenient, coupled with the need to remember a lot of rules, so use is not particularly skilled, and this
How does the Mac quickly turn off the Safari tab? For many users who just use Mac computer, will encounter an open page will suddenly open a lot of pages, in fact, this is the MAC system will all your pages do a good job of sorting, you can greatly
EditPlus use of shortcut keys
If one comes to your company to interview the programmer, even CTRL + C and CTRL + V are not used, but instead use "select text" → right mouse button → "copy" and then right-click → "Paste". Will you hire him? (You don'
Javascript reference object method code reference method on the same page:
1. Use id:
Link1.href
2. Use name:
Document. all. link1.href
3. Use sourseIndex:
Document. all (4). href // note that there are HTML, HEAD, TITLE, and BODY in front, so
Javascript reference object method 51js
==================
Reference Method on the same page:
1. Use id:
Link1.href
2. Use name:
Document. all. link1.href
3. Use sourseIndex:
Document. all (4). href // note that there are HTML, HEAD, TITLE,
Can css performance be optimized? This seems to be a bit confusing. In fact, if you know enough about how CSS renders html pages, if you can accelerate css rendering of html pages, the css performance has been optimized! Next, I would like to share
JavaScript: several methods for JS to obtain HTML elements in a webpage. Javascript tutorial
GetElementById getElementsByName getElementsByTagName
GetElementById, getElementsByName, getElementsByTagName
The last two are the collection, and the
This article mainly introduces some important attributes of document objects in JS. If you need them, please refer to them, we hope this will help you to access every element on the page and their attributes through these attributes. Each label can
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.