1, HTML+DIV+CSS 0 Basic Quick start to Production Enterprise Station Video course _13 CSS list & Text style

Source: Internet
Author: User

HTML <ul> Tags

Definition and usage

<ul> label definition no sequence

1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4     <MetaCharSet= "UTF-8">5     <title>List</title>6     <style>7 Li{8 List-style-type:None;9 text-decoration:None;Ten     } One     </style> A </Head> - <Body> -     <ul> the         <Li>This is a list</Li> -         <Li>This is a list</Li> -         <Li>This is a list</Li> -         <Li>This is a list</Li> +     </ul> -  +     <BR/> A  at     <Table> -         <TR> -             <TD>&nbsp;</TD> -             <TD>&nbsp;</TD> -         </TR> -     </Table> in </Body> - </HTML>

Text style:

Text-decoration:underline/none;

Text-align:left/center/right;

TEXT-INDENT:32PX/2EM/-10PX/-9999PX, etc.

line-height:28px;

Other styles:

Cursor:pointer

1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4     <MetaCharSet= "UTF-8">5     <title>Text Style</title>6     <style>7 P{8 text-align: Left;9 text-indent:64px;Ten Line-height:100px; One cursor:Pointer; A Border:1px solid Red; -     } -     </style> the </Head> - <Body> -     <P>This is a paragraph</P> -     <P>This is a paragraph</P> +     <P>This is a paragraph</P> -     <P>This is a paragraph</P> + </Body> A </HTML>

1, HTML+DIV+CSS 0 Basic Quick start to Production Enterprise Station Video course _13 CSS list & Text style

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.