HTML Learning Note Two

Source: Internet
Author: User


HTML Picture Tags

Top: Able to show the image address from the external site


HTML Table Markup


Main uses of the table:

1. Display data, pictures

2. Page layout


The basic syntax:

TD represents the column. TR indicates a row

Cellspaceing represents the gap size, which refers to the distance between two columns (rows)

CellPadding indicates the size of the fill, and the contents of each column are filled, to some extent, will be large lattice


About special characters.

Attention:

to print "<bg>" in the Web page. Because <> is keyword, it needs to be escaped, and the escape character in HTML is. &


C&lt;d D&gt;c-C<dd>c

<font> Hello </font>: You and the good, no matter how many spaces will only show one at the end. So &nbsp; Represents a space

<font> you &nbsp;&nbsp;&nbsp;&nbsp; good <font>


Table_demo:



Operation Idea:

In order to manipulate the data, it is necessary to encapsulate the data in different labels and manipulate the encapsulated data through the tag's attribute values.

The label is the equivalent of a container, the operation of the data in the container, is constantly changing the container's property values

Dreamweaver is a good software for HTML making


1. Demo List tab:

List Tags: dl

Upper Project: DT

Lower item: DD:DD tag, encapsulated content will be actively indented, DD has indentation effect

<dl>        <dt> Game name:</dt>        <dd>DNF</dd>        <dd>LOL</dd>    </ Dl>>

2. Ordered and unordered list of items (frequently used)

Orderly: OL

Unordered: UL

Regardless of order or disorder. Items are encapsulated with <LS>, and both have indentation effects

<body>   <ul type= "" ><!--type = "", is style--       <li> unordered items </li>       <li> unordered items </li>       <li> unordered items </li>       <li> unordered items </li>          </ul>   <ol type= "A" > <!--start with a-       <li> ordered items </li>       <li> ordered projects </li>       <li> orderly Projects </li>   </ol></body>





HTML Learning Note Two

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.