HTML (Hyper-text markup Language)

Source: Internet
Author: User

1. Document Preparation
The HTML file must be suffixed with HTMI or. html
2. Display of suffixes
WIN10: Turn on My Computer (computer)-click on the View---Check the file extension
3. Open mode
First type: Double-click to open
Second: Right-click to open the response (edit mode) Browser Open
4.HTML standard Format
<title> Page Info </title>----> Title Tags
<body>
Page information
</body>

5. Basic content:

(1) H tag (title tag)
H1~h6
(2) BR label (line wrapping label)
<br/>
(3) HR tag (horizontal line label)
(4) Strong (bold)
EM (Tilt)
(5) Special
&nbsp; (space)
&gt; (greater than)
&lt; (less than)
&quot; (quotation marks)
&copy; (copyright symbol)
(6) Photo tags

SRC: Address of picture (path + picture name)
ALT: Message when the picture is not found
Title: A message when the mouse hovers over the picture
Width: wide. (px)
Height: high. (px)
Note: How to find pictures
First step: Determine the location of the current HTML
Second step: If the picture in the sibling directory directly write the picture name
If the picture is in the parent directory, use the. /Picture Name
If you are subordinate, use the directory name/Picture name

(7) Hyperlinks

<a href= "#" target= "" > Content </a>
HREF: File path name to jump (same path as picture)
Target:_self (target page overwrites the current page)
_blank (the target page pops up a new box to display)

"#" is an empty link representing the current hyperlink for the A tag

(8) Anchor chain connection
Create steps
First step: Create an anchor point
<a name= "Ding" >xxx</a>
Step Two: Access anchor links
<a href= "#ding" > Access to anchor points </a>

HTML (Hyper-text markup Language)

Related Article

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.