Blog Park's first fight-HTML5 jumpstart study Note 1: Semantic Structure 6 years confused: developer's "stiff style"

Source: Internet
Author: User

I. Some insights

It takes about half a year to register a blog. I haven't written a blog yet. I used to access csdn before. during training, I often write Study Notes on csdn. After half a year of work, I was very busy, so I turned to shame on my blog writing habits. Today, I have been engaged in old business and moved my family to a more professional blog Park. I hope that I can continue to share, learn, and improve my family together.

Just now, I read an article on the homepage-6 years ago: the developer's "difficult style". I am very grateful to you for sharing your experience with others, however, the article reveals the negative effects of doing things, which is indeed related to the big environment. I think it is best to do both good deeds and good deeds. If we come to the blog Park to improve technology together, let's just calm down and start doing things.

 

Ii. Summary of Microsoft HTML5 Jump Start course structure

HTML5 has been launched for a long time, with many tutorials and articles. My blog is mainly about the learning and summary of Microsoft jumpstart tutorials. I will only pick some important points to facilitate memory and may not be detailed enough. It would be a pleasure to provide your reference. The course consists of six modules ):

Module1: HTML5 semantic structure (semantic structure)

Module Agenda (agenda): semantic tags (semantic tag), forms, audio/video, canvas, SVG.

Module2: CSS selectors and style Properties

Module agenda: selectors, combinators, color properties, text properties, box properties.

Module3: Advanced layout and animation (animation)

Module agenda: Legacy (legacy) layouts (should be a review of existing styles in css3), flexbox, grid, transforms, transitions (transition, transformation) and animations.

(Currently, only module3 is learned, and the next summary will be updated... the summary of each section below will not be described in detail. I will make some summaries that I think are important .)

 

3. module1: HTML5 Semantic Structure

1. semantic tags: semantic via (VIA) HTML5

 

Element Level Purpose
<Article> Block Indepent (independent) content such as blog post or aritcle
<Aside> Block Content slightly related to primary content on page
<Figure> Block Grouping stand-alone content, such as video or image
<Figcaption> Text For use with <figure>, (optionally) uesd to provide (provision; required) caption (title; subtitle; description)
<Footer> Block Providing author, copyright data, etc.
<Header> Block Introductory heading, cocould include navigation
<Hgroup> Block For Grouping
<Nav> Block Navgation-typically site level
<Mark> Text Text to be referenced or highlighted
<Section> Block Grouping of content usually with a heading, similar to chapters
<Time> Text For date and/or time representation

2. Forms

Name   <input type="text" required />Email   <input type="email" required placeholder="you@domain.com" />Site    <input type="url" placeholder="http://www.you.com" />Phone  <input type="phone" pattern="\d\d\d\-\d\d\d\d" />

3. Audio/Video

Audio<audio src="some.mp3" controls></audio><audio controls autoplay loop preload="auto">    <source src="some.ogg" />    <source src="some.mp3" />    Your browser does not support audio!</audio>Video<video src="some.mp4" controls></video><video controls autoplay loop muted>    <source src="some.webm" />    <source src="some.mp4" />    Your browser does not support video!</video><video width="400" height="300">...</video><video preload="none" poster="some.jpg">    ...</video>

4. Canvas

<canvas id="can" width="200" height="200">    Your browser does not support canvas!</canvas>// JavaScriptvar canvas = document.getElementById("can");var ctx = canvas.getContext("2d");ctx.fillStyle = "rgb(0,0,255)";ctx.fillRect(10,10,180,180);

5. SVG

<svg width="200" height="200">    <rect fill="rgb(0,0,255)"        x="10"        y="10"        width="180"        height="180" /></svg>

 

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.