Principle Resolution: First step: Use DOM to create or tags, and give them additional properties, such as type, step two: Use the AppendChild method to bind tags to another label, usually tied to .
Application: 1, improve the reuse of code,
sometimes in Web pages to add an online test function, such as online survey, online testing of various types of knowledge and other applications, such applications need to use a lot of back and forth skills. Today I'm going to share a front-end
XHTML section:
Company Name: * Industrial Category: Computer and Consumer electronics air conditioner * Company Introduction: Guangzhou June Bao Industrial Co., Ltd. was founded in 1990, is a scientific research, manufacturing, sales and
Meta-source information function of page timing jump and Refresh
Almost all of the page headers have source information. In addition to our commonly used definition encoding, keyword (name= "keywords"), description (name= "description") (for SEO),
Recently I have been learning CSS page layout design, the learning process has also done a few examples. For the layout of the Web page analysis of ideas is also a certain understanding.
This article does not talk about technology, only a CSS page
Display:inline-block attribute usage in CSS
When you use CSS to implement performance, you will often be exposed to the attributes of Display:inline-block, whether it is the first contact with the Web standards or contact with the standard of a
With the growth of smartphones, mobile web sites can also do more personalized, recently in the revision of their own mobile websiteThis one, encountered a website picture size problem, mobile phone screen is relatively small, how to upload the
This effect requires that the height of each item element is twice times the width, we first set the width of the parent element box 100%, where we mainly use a property of padding to solve the problem, because the width of the padding if the
css| comparison
Use CSS to write the effects of alternate colors for each row of tables
about using CSS definitions to show different colors for each row of the table to differentiate each row of data for easy reading. Some of the use of IE bugs, in
css|express|js| Special Effects | Web pages |
IE5 and its later versions support the use of expression in CSS to associate CSS properties with Javas cript expressions, where CSS attributes can be intrinsic or custom attributes of an element. This
css| Skills | Web page Background | problem
This is often written when we define a background style:
body{Background:url (img/header_top.gif) left top no-repeat;}
If we want to define a background color, but also add color in the background, but
css| Skills | website | optimization
Optimization Code: web page Technology CSS font properties of the abbreviation of the skills, abbreviations to reduce the code, optimize the CSS to make it more reasonable.
The CSS Font property is used to
Css
The last defined CSS style overrides all existing or conflicting styles defined before it, such as the following example:
p {color:red; Background:yellow}p {Color:green}
The above paragraph will eventually render a green font, with a yellow
css| Difference | Web page
The difference between SPAN and Div is that Div (division) is a block-level element that can contain paragraphs, headings, tables, and even chapters, summaries, and notes. span is an inline element, the span is not wrapped
css| Filter
There are two ways to use the specific application:
1, first define a good CSS, and then in the page need to use the predefined CSS, in fact, the CSS Settings dialog box has been in advance the syntax of these filters have been set up,
css|js| Menu
First look at the effect:
HTML code:
This is menu 1.
This is menu 1.
This is submenu
This is menu 1.
This is submenu
This is submenu
This is menu 1.
This is submenu
This is menu 1.
This is submenu
This is
In CSS layout, the use of ul,li is very common. With Div and CSS, create no table layout.
In fact, Dreamweaver also has a sample of the CSS layout, as shown in the following figure:
The format of the Li code:
A). Use CSS to format A list
Definitions and usage
Font-size property to set the size of the font.
Description
This property sets the font size of the element. Notice that it actually sets the height of the character box in the font; the actual character glyphs may be higher
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