HTML5 study notes (2)

Source: Internet
Author: User

Html5


List:

Http://www.w3school.com.cn/tags/html_ref_byfunc.asp


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/CA/wKiom1WH49zRYI-5AAFKRucI-sE867.jpg "title=" Qq20150622183016.jpg "alt=" Wkiom1wh49zryi-5aafkruci-se867.jpg "/>

List:

    • unordered list:

      • Use tag <ol><li>

      • Properties: A,a,i,i,start

    • Nested list:

      • Using tags: <ul>,<ol>,<li>

    • Custom list:

      • Using tags: <dl>,<dt>,<dd>

<body>    <ul type= "Circle" >         <li>apple</li>        <li>bnana</li>         <li>orange</li>    </ul>     <ul type= "Square" >        <li >apple</li>        <li>bnana</li>         <li>orange</li>    </ul>     <ol type= "a" >        <li>apple</li>         <li>bnana</li>         <li>orange</li>    </ol>    <ol  Type= "A" >        <li>apple</li>         <li>bnana</li>        <li>orange</li>     </ol>    <ol type= "I" >         <li>apple</li>        <li>bnana </li>        <li>orange</li>     </ol>    <ol type= "I" >         <li>apple</li>        <li>bnana</li>         <li>orange</li>    </ol>     <ol start= "Ten" >        <li>apple </li>        <li>bnana</li>        <li >orange</li>    </ol>    <ul type= "Square" >         <li>fruit</li>             <ol>                 <li>apple</li>                 <li>bnana</li>                 <li>orange</li>             </ol>         <li>vegetable</li>             <ol>  &nbSp;             <li>potato</li>                 <li> tomato</li>                 <li>cabbage</li>            < /ol>    </ul>    <dl>         <dt>helloworld</dt>             <dd>print helloworld</dd>        <dt >helloworld</dt>            <dd> Print helloworld</dd>    </dl></body>


HTML block

  1. HTML block elements

    1. When a block element is displayed, it usually starts with a new line

  2. HTML Inline elements:

    1. Inline elements typically do not start with a new line

    2. <b>,<a>,

  3. HTML <div> elements:

    1. The <div> element is also known as a block element, which is primarily a container for combining HTML elements

  4. Html<span> elements:

    1. The <span> element is an inline element and can be used as a container for text

<div> and <span> are often used together


Index.html:

<! Doctype html>


DIVCSS.CSS:

#divid p{Color:chartreuse;}

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/C9/wKioL1WISMaiRHY5AABrROF4FYs078.jpg "title=" Qq20150623013334.jpg "alt=" Wkiol1wismairhy5aabrrof4fys078.jpg "/>

HTML Layout:

Use <div> layout    

<! Doctype html>

Use <table> layout

<! Doctype html>



Geek College: http://www.jikexueyuan.com/course/135.html


This article is from the "Thystar" blog, make sure to keep this source http://4440271.blog.51cto.com/4430271/1664261

HTML5 study notes (2)

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.