Basic knowledge:Access properties: Obj.attr or obj[' attr ']Access the Style property via JS:Change the Style property by JS:There are four ways to control a page using CSS, in-line style (inline style), inline, linked, imported.The inline style
SPRINGMVC tags appear in spring3.0.4, primarily to define access to static resources. Search the internet for a bit with this configuration related articles, most recommend the following. However, in this case, if there is a new directory, you have
CSS style sheet 3 ways:Inline: Styles written in HTML tags, such as: Inline Inline: A style sheet written between in HTMLOutreach: CSS style sheets linked through tags in the tabJS Internal-embedded manipulation: inline var
Background Background Setting background color
this is header 1 this are header 2 this is a paragraph &l T;/body>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
Set a picture as background
Container height 100% is a frequently used requirement, and any container can be implemented without the need for nesting relationships. As the body is a container, as the inner object of the upper label, his height set to 100% is the key. The most
1.embed is illegal.
The label is a private label for Netscape , and although the label is widely used, it is not included from html3.2,html4.0 to XHTML1.0,W3C. Pages that use labels will not be verified by the Web.
2. You should use object
It is
These tips, which are not visible in CSS manuals or HTML manuals, do not remember being seen there, but I have been using them. Although the standard check pass, if do not pursue the standard check, still can use, because in IE and Firefox can
The idea is very simple, the code is very concise, the effect is good, quite useful (this kind of advanced East IE is not recognized).
Copy the Code code as follows:
* {outline:2px dotted red}
* * {outline:2px dotted green}
* * * {outline:2px
Chinese search English search Domestic portal Integrated Other
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
Despite the vertical-align features of CSS, it is not possible to solve the problem of vertical centering of unknown heights (in the case of text or pictures with unknown height in a div tag).
Standard browsers such as Mozilla, Opera, Safari, etc.,
Since the network has made a Xhtml1.0 standard, many sites are beginning to use it to reconstruct the site, like Yahoo,163,csdn, and so on, recently a period of time xhtml+css2 the upsurge is a wave high over a wave, so I began to learn, and slowly
After the CSS base selector, this section summarizes the use of CSS property selectors.The role of the property selector: sets the style for the HTML element with the specified property . Using the CSS3 property selector, you can specify only one
Css (display, float, position), floatposition
Display is used to set the display mode of elements.
Display: block | none | inline-block
Inline: Specifies the object as an inline element.
Block: Specifies the object as a block element.
Inline-block:
HTML cursor style and cursor StyleHTML cursor Style
Place your cursor over the corresponding text and place the mouse to display the effect
Cursor: auto;
Automatic
Cursor: all-scroll;
Scroll up or down any direction
Mobile front-end development entry (1): Mobile front-end development entry
Definition of responsive layout:Integrates elastic grid layout, elastic images, media, and media queries to form a responsive layout.
I. Media query: different windows
HTML (1): Exploring HTML and exploring html1. Introduction to HTML
HyperText Markup Language (HTML for short)
The Super Text Markup Language is an application under the standard General Markup Language and also a standard. It marks parts of
Html and css Basics
The first time I came into contact with html, I had been using table for layout, and it was very troublesome and ugly. As a result, I didn't have much interest at the beginning. Until half a year ago, I began to access pages
HTML element: Mark text,
1. Mark content with basic text elements
First look at the display effect:
Corresponding HTML code:
Learn4Font element B -- I am the example. element em -- I am the example. element I -- I am the example.
[Use DOM] Understand DOM and use dom to understand
DOM (Document Object Model) allows us to use JavaScript to explore and manipulate content in HTML documents. It is an essential set of features for creating rich content.
1. Understand the Document
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