Web page design and production Chapter I.

Source: Internet
Author: User

(i) Writing HTML steps

First step: Create a new Notepad (with. HTML as suffix)

Step Two: Right-click to select Open With text document

<body>

Hello.html

</body>

Step Three: Write content

Fourth step: Open the viewing content in a browser

(ii) The basic structure of HTML

<body></body><!--The body of the page--

(iii) How HTML is opened

The first type: Open with a browser (browse mode)

The second type: Open with a text editor (edit mode)

Add: HTML Full name Hyper Text Markup Language (Hypertext Markup Language)

(d) Title label

<title></title>

(v) META tags

<meta name= "keywords" content= "content" > Keywords: keywords

<meta name= "description" content= "Content" > Description: Web page description

(vi) H tag

Note: The h tag is only H1 to H6, and the H1 is minimized in turn

(vii) Paragraph label (empty one row)

<p></p>

(eight) line wrapping label

<br/> write in the middle of the change

(ix) Horizontal line label

Bold:<strong></strong>

Italic:<em></em>

(11) Notes and special symbols

Spaces &nbsp;

Greater than sign &gt;

Less than sign &lt;

quotation marks &quot;

Version Symbols &copy;

Note:<!--What is being commented--

Purpose: The first type: explanation code (before it)

The second type: The current code can not be used now, may be used later to (the use of not included in the inside)

(13) a label (hyperlink)

<a href= "path to jump" target= "target Window" ></a>

Note: The common value of target: _self (represents the current window) _blank (indicates a new window)

(12) Picture label

(14) Jump to the top (in the Department network section)

<body>

<a name= "Head" > Top </a>

<a href= "#head" > Back top </a>

</body>

(15)

1. Steps to use the anchor chain

First step: Defining the Anchor Point

<a name= "First Name" > Anchor point </a>

Step Two: Define Links

<a href= "#锚点名" > Links </a>

Note: #可以看出当前页面 anchor name: Represents the position to jump to the specified anchor (that is, the value of the Name property when the anchor point is defined)

2. Functional links

Example: <a href= "MAILTP: Email Address" ></a>

Block element: The element is exclusive to one row regardless of the content (p, H1)

Inline elements: Content is open around the width of the elements can be lined up in one row (strong)

Web page design and production Chapter I.

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.