, Chrome, and Safari): CSS Syntax (cross-browser):
Property
Value
Description CSS Syntax format
Align
LeftCenterRight
HTML5 not supported.HTML 4.01 is deprecated. Regulation of alignment of
NoShade
NoShade
HTML5 not supported.HTML 4.01 is deprecated. Specifies that the color of the
Size
Pixels
HTML5 not supported.HTML 4.01 is deprecated. Specifies the height of the
Width
// location.href = ' http://www.imdsx.cn ' // " Span style= "COLOR: #008000" > redirect Location.reload () // refresh location.href = Location.href // refresh TimerSetInterval (function, time)//set the timer to execute once every timeclearinterval (intervalobj)//Clear Timer functiontimeinterval () {varSetint = SetInterval (function() {Console.log (1); //execute once to end a scheduled taskclearinterval (Setint)},1000)} setTimeout (function, time)//set the timer, after the page lo
HTML: Hypertext Markup LanguageHypertext includes: text, pictures, audio, video, animations, etc.Process: Write HTML code after the browser (automatically compiled HTML code) to show the effectHTML Benefits:World-renowned browser vendor support for HTML5MicrosoftGoogleAppleOperaMozillaThe needs of the marketCross-platformWorld Wide Web ConsortiumWorld Wide Web Co
JS is a scripting language. Play the role of manipulating behavior in HTML. In HTML, if the HTML code is a person, then JS is the person's behaviorJS is referenced in the head of the HTML and can also be referenced in the body. References by Tags: The difference between head and body: Since H ' tml code is parsed, it
typeof () Operator: used to return the data type currently accommodated by his operand, which is particularly useful for determining whether a variable has been defined.For example: typeof (1); The return value is Number;type ("JavaScript"); The return value is string;JavaScript Data type conversions:Convert the string to integer or float with parseint () and parsefloat ();Convert a numeric type to a string type method of. toString ();
The
HTML formattingIn-Document Linksname= "Tips">Helloa> href= "#tips"> skip to Helloa >Listunordered list type to set style -ultype= "Square"> Li>Li> Li>Li>ul>sequence table start to set the starting value -olStart= "Ten"> Li>Li> Li>Li>ol> DL > DT > DT > DD > DD > DL >Inline frame iframesrc= "framea.html" frameborder= "0" width= " 800px " height=" 800px ">iframe> The iframe can be nested multiple, the A link is added "_parent", "
HTML and CSS web page development basics, htmlcss web page
I. HTML document structure
HTML document structure:
Common HTML markup: 1. line feed markup
5. The text list is marked orderly
Table 2 Mark
1. table tag
2. Title tag
3. Mark the header
4. Table row flag
5. Cel
Html1.HTML structure2.HTML syntax
The attributes of an element contain property names and attribute values two parts, called key-value pairs, which are connected by an equal sign, and are separated by spaces between multiple attributes.
Different sub-attributes within a property are distinguished by semicolons, such as style={color:red; background-color:black; font-size:8px;}
3.
HTML title: HTML paragraph: HTML Links:Tip: Specify the address of the link in the href attribute(We'll learn more about attributes in the next study.)HTML Image:Tip: The name and size of the image are provided as attributes.HTML Line Wrapping:1. HTML
multiple Box Submit button button (need to use with JS.) What is the difference between button and submit? File submission: Form form needs to add attribute enctype= "multipart/form-data" upload file note two points: 1 the request must be Post 2 enctype= "Multipart/form-data" name: The key of the form submission item. Note the difference from the id attribute: The name attribute is the one used when communicating with the server, and the id attribute is the name used by the browser side, whic
HTML Language Basics1.HTML editing softwareMicrosoft Virsual Studio.NET2. Document type definition (DOC type DEFINITION,DTD)Format (1) HTML refers to a document definition type(2) Public refers to a DTD document that is publicly accessible to anyone, not a company's internal specification file.(3) version name refers to the identity name of the
Html + css basics, htmlcss
Complete HTML Structure
Style reference
I. Write internally
(If ues: so use the style just 1 times )!!!
# Div_css {}
(Or ues: so don't write "class or id =? ")
Div. p {}
Div p {}
II. External Reference
Hyperlink Style
A {} // all super links
A: link {} // no linked links
A: visited {} // alredy linked links
A: hover {} /
/android-arrow-back.png" alt= "This is a pic"/ >The above tagged a picture, using the self-closing tag, when the browser loads, it needs extra looking at the Pic/android-arrow-back.png picturePropertyProperty provides additional information about the label, half of it is used to control the text content or to describe the source of the reference content, such assrc= "Pic/android-arrow-back.png" alt= "This is a pic" />Attribute Src describes the source of the picture, Alt is used when the pictu
PHP Basics-the principle of generating static html pages people who often operate on the website background know that most website Systems currently, such as dedecms, phpcms, Empire, and other well-known content management systems all provide the function of generating static pages, which is not only conducive to the crawling of search engines, but also can effectively reduce the pressure on servers, theref
Html and css Basics
Background:
Recently, the company developed BS architecture projects. The company's main business is not engaged in BS development. There is no project manager, no artist, no front-end, and the interface is ugly. Hahaha
Then, when I use asp.net, the technical boss thinks that the interface can be so ugly. I can't change it. I changed it to a plug-in called devexpress, which looks nice to
Combo Selector combination of two basic selectors
Pseudo class selector Love-hate
: Link
: Visited
: hover
: Active
The priority of the selector
ID >class > Tag
Combination Selector ID weight of the class weight 1 tag weight
CSS Property Font Properties
font-family serif Font (serif) non-serif font (SANS-SERIF)
Font-style font style normal (default)/itailc (italic)/oblique (forced ramp)
Font-weight font size norm
-color:yellow; 4 }
6) Property Selector
A. There is a propertyP[name]B. property equals a valueP[name= "First"]
Three. Style:
1. Background style:
Background-color: background color background-image: picture background-repeat: tile 1) x,y2) x3) No-repeatbackground-position: Where to start tiling
2. Text style:
Font-family: Font font-size: Size font-style: Italic font-weight: Bold
3. Text style:
Line-height: Line height letter-spacing: Character interval
box radio single box checkbox multiple Box Submit button button (need to use with JS.) What is the difference between button and submit? file submission: Form form needs to add attribute enctype= "multipart/form-data" upload file note two points: 1 The request must be in the post 2 enctype= "multipart /form-data "Name: The key of the form submission item. Note
with a form, they can fill in the necessary information and then click on a button to submit. This information is transmitted over the Internet to the server, the server has a special program to process the data, if there are errors will return error message, and ask to correct the error, but the data is complete and correct, the server to make appropriate feedback;
The
Label labels do not present any special effects to the user;
The value of the for property of a label labe
Html css style basics, htmlcss Style
I. css1. What is css?Cascading Style SheetA tool to change the style. To put it bluntly, it is to make our pages look good,HTML encapsulates a tool like css at the underlying layer.2. How to Use cssA. style and styleThis keyword is written inside the tag. You can modify the tag style.Note: Write it inside the tag! That is,> in
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.