Q8: Please list the common HTML tag attributes and their meanings and usage environment , What are their respective attribute values?
Title and its::
Division and its:<div></div> properties:Align:left Center right justify HTML4.01 and XHTML 1.0 Strict DTD not supported.
Block references: All text between <blockquote></blockquote> will be detached from regular text, often indented on the left and right sides, sometimes in italics, where blocks refer to their own space.
References, such as references, books <cite></cide>periodicals,text are displayed in italics.
Display source code:<code></code>;
Subscript:<sub></sub> superscript <sup></sup>
Typewriter body:<tt></tt> with single space font display
Scheduled format:<pre></pre> preserve text hollow lattice, line wrap
Align to:<center></center> Picture Text
Font: <font size=...></font> <font size=+|-?></font>
Define basic font Size color font (default): <basefont sizeof = "1-7"color.... ></basefont>
Font color:<font color = "#444" ></font>
Connection: <a href = "url" ></a>
Hyperlinks - Spotlight:Focus:
Anchor pseudo-class:a:hover{} a:visited{}
Css Pseudo-class:
CSS2 Pseudo-class :-first-child:
Graphic alignment:
Replace text: Display text If no picture is displayed:<img src="" alt= ">
Map: <map name = "" ></map>
Paragraph: <area shape= "" coords= "" href= ""/>coords: coordinates
Graphics Size: Width Height Graphics Edge: Border Graphic Edge space: hspace vspace
Low-resolution graphics: LOWSRC
embedded object:<embed src = "width=" ">
Paragraph: <p align = center right left>
Text section on par: <br clear= left right center/> when combined with graphics
Horizontal:<hr size= "" align= "Left center right" width = "px,%"/>
Solid line: non-wrapped <nobr></nobr>
Unordered enumeration: <ul type= "disc | Circle | Square ">.......<li type=" disc | Circle | Square "></li> .........<ul>
Ordered enumeration:<ol>....<li></li>.....</ol>type= "a A i I 0" start:<li value="4" >
Definition list:<dl><dd><dt></dl> DL definition DT DD Project
Form List:<menu><li></menu>
Catalogue Listing:<dir><li></dir>
Background and color: repeating background Image:<body background = "url" >
Background color <body backgrund-color="# #" >
Text color:<body text="# #" >
Link color:<body link="# #" > viewed Links:vlink; links in use:ALink
Special characters:< < > > < > registered trademark tm® copyright symbol © copyright symbol ©
Form: <form action= "url" method= "get Post" ></form>
Upload file: <form enctype= "multipart Form-data" ></form>
Input field: <input type= "text password checkbox radio image hidden Submit reset" name = "" VALUE = "" size= "width" maxlengt H= ""/>
Drop-down menu: <select name= "" Seze= multiple></select>
Option: <option selected>
Text input area: <texteara rows= cols = name = "" wrap= "off physical virtual line mode " ></texterea>
Table: < table></table><TR></TR> <TD></TD> <TH></TH> <CAPTION></CAPTION>
Frame of view: <frameset rows= "relative size ,%" or cols = "relative size %" src ="name=" "_blank _sel F _parent _top marginwidth marginheight scrolling= "Yes No auto" ></frameset>
<frame noresize>
<noframes></noframes>
Q9: What is HTML5? Why does it appear?
HTML5, the World Wide Web's core language, the fifth major modification of a Hypertext Markup language under the standard Universal Markup Language, will become HTML,XHTML , and the new standard for HTML DOM.
HTML5is a the(World Wide Web Consortium) andWHATWG(Web hupertext Application Technology working Group) Results of the cooperation,WHATWGcommitted toWebforms and applications, thecommitted toXHTML2.0. .years to develop new versions ofHTML.
HTML5 is designed to support multimedia on mobile devices, and introduces new features that really change the way users interact with documents.
HTML5 New rules: New features should be based on HTML,css,DOM,JavaScript ; Reduce the need for external plug-ins; better error handling; More markup for replacing scripts;HTML5 should be independent of the device; the development process should be transparent to the public;
New features: for paintingCanvasan element that is used for media playback.Videoand theAudioelements; Better support for local offline storage; New special content elementsarticle,Footer,Header,nav, Section; The new form controlCalendar,Date, Time,Email,URL,Search
Web Front End Learning-lesson three HTML