-------------------siwuxie095HTML5 new non-principal structure elements1. Header elementThe header element is a structure element with a guided and navigational effect, usually used to place an entire page or a chunk of content within a page. title , but You can also include other content , such as data tables, search forms, or relatedLogo image2. Footer Elementsthe footer element can be used as its parent-level content block or as a root blockthe footnoteThe footer element typically includes f
. PlaceholdersThe meaning of this input property is that you don't have to do placeholder with JavaScript. 9. Local StorageUse Local Storage can permanently store large pieces of data on the client (unless actively deleted), most browsers already support it and can detect if window.localstorage exists before usesemantic headers and footerOne. more HTML5 form featuresIE and HTML5default, HTML5 new elements are rendered inline , but you can use the following method to makeit is rendered in block m
; Divcontenteditable= "true"style= "border:1px solid #dddddd; width:360px;min-height:20px;_height:20px;outline:0px;">Div> Divcontenteditable= "true"class= "Demoedit">Div>7, Email InputsIf we set the type of input to e-mail, the browser verifies that the input is an email type, not just the front-end checksum, and the backend has to have a corresponding checksum.8, placeholdersThe meaning of this input property is that you don't have to do placeholder with JavaScript.9. Local StorageUsing t
; H1>Sub-headingsH1> Header> P>ContentP>article>use of multiple header elements7:footer elementsFooter usually includes footnote information about its relevant blocks, such as the author, relevant reading links, and copyright information.Use CSS styles for these new elements to declare these elements to be block elements.Two: Outline of the arrangement rulesThe layout of content blocks can be divided into two ways: explicit orchestration and implicit orchestration.An explicit orc
article, a noun interpretation, and so on.Design Micro-formatA micro-format is a way to add additional information to a Web page by using the class attribute of HTML, primarily to simplify data extraction for web developmentThe time element represents a moment in the 24 hour or a date that allows time difference when identifying the moment.Add Release dateThe Pubdate property is an optional Boolean property that can be used on the time element in the article element, which represents the publis
1. Why use REMAutomatic resizing based on screen size2. How to use REMIn the following stepsA. Use PS to set the manuscript to 640px or 750px (remember to scale)B. When debugging, remember to set the browser default minimum font to minimum. The phone is supported for fonts below 12pxC. Introduction of meta-headers D. Introducing the Reset File?
12345678910111213141516171819202122232425262728293031323334353637
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h
; home ul > ul > podcast ul > ul > forum ul > nav > We set the position of the navigation bar, and the color style nav{ height:30px; Background: #F66; MARGIN-TOP:151PX }At this point the items are vertically drained, and we use CSS styles to change them to horizontal and set their color and height.Nav ul li{ width:100px; height:30px; Float:left;}(2) The top menu is finished, followed by the middle, or in order from left t
1. Bold B 2. Italic I 3. Equal width type TT 4. Small One font: small 5. Delete Line Del 6. Underline: INS 7. Superscript Subscript SUP Sub 8. Highlight Mark DOCTYPE HTML>HTMLLang= "en">Head> MetaCharSet= "UTF-8" /> title>Paragraph-relatedtitle>Head>Body>Hgroup> H1>To pass the sentence or to be released in SeptemberH1> H2>2014.7.3H2>Hgroup>P>There was no practical action in 2011, and therefore c
, but you can use the following method to makeIt is rendered in block modeHeader, footer, article, section, Nav, menu, Hgroup {Display:block;}Unfortunately, IE ignores these styles and can fix them like this:Document.createelement ("article");Document.createelement ("footer");Document.createelement ("header");Document.createelement ("Hgroup");Document.createelement ("Nav");Document.createelement ("menu");Hg
Placeholder setting of the input taginput::-webkit-input-placeholder{/*webkit browsers*/ /Reset Style} input::-moz-input-placeholder{/*Mozilla firefox*/ //Reset style}input::-ms-input-placeholder{/*internet explorer*/ /Reset Style} Second, the input label to get focus of the border settingsAdd Outline:none or outline:medium;input{outline:medium in the CSS of input,}/* Get focus */input:focus{ border:1px dolid #EEE;} Third, remove the default style of the listLi {list-style-type:none;} O
tags are used to represent the contentExamples of the above elements:1 HTML>2 Head>3 MetaCharSet= "Utf-8">4 title>title>5 styletype= "Text/css">6 Body{Border:dotted 1px gray;}7 Article,header{width:800px;margin:0 Auto;}8 ul Li{List-style-type:None;Display:Table-cell;padding:10px;Font:20px Bold;}9 ul Li>a{text-decoration:None; }Ten style> One Head> A Body> - articlestyle=""> the Header> - Hgroup> -
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.