Webmaster Net Novice Training third lesson content elaboration

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

I'm a male.

The third lesson 7.18 days content Introduction

HTML code I talked about it in my first class.

I'm just writing down what I heard in this class.

<html></html> Label
The usage:<html> flag is used at the front of the HTML document to identify the beginning of the HTML document. The </html> logo, on the contrary, is placed on the last side of the HTML document to identify the end of the HTML document and two flags must be used together.
A webpage this label is essential!

<head></head> Label
Description: The head tag refers to the entire page header, which has title title tag, and other tags, you can check
Usage:
<head>
<title> website Title </title>
</head>
(In HTML tags)

<body></body> Label
Description: The body and his English meaning, is the theme of the Web page, on the Web page, are shown in this tag inside

<p></p> Label
Description: The text in this label can be displayed on the Web page, you can also add properties to the <p> tag, change the color size and position!

<br> Label
Description: The Web page can not directly enter,<br> is the meaning of carriage return


<img></img> Label
Image labels can be used to add images to a Web page
Practical methods
1. Relative path (Picture and Web page files in the same directory)
Usage: <img= "picture file name. picture format" ></img>

2. Absolute path (can not be a directory)
Usage a:<img= "/Picture file name. picture format" ></img> Description: Picture in site root directory
Usage b:<img= ". /picture file name. picture format "></img> Description: Pictures on site any directory, ... /is the superior directory. /.. /is the parent directory, and so on

Border label
Description: This label is a border label, directly using this, is four border, can also use a single border,
Border Left,border Right,border top,border NRC label is left border, right border, top border, bottom box.

Alt Label
Description: Alt tag is to annotate the picture, it is used in the <img> tag

Align label
Description: Control the text, form, image, animation, form position, attribute has left,right,center, corresponding meaning for left, right, center
Usage: <img align= "Properties" >

Width and height are wide and high labels
Description: Width and height are wide and high, is defined by PX, is the meaning of pixels
Usage: width= "20px"

<hr> Label
Description:<hr> Label is horizontal, you can use attributes: Size,color,width and NoShade, respectively: thickness (px defined thickness), color, width, there is no shadow
Usage:
Size= "1px"
Color= "#000000"
Width= "850px"
In the attribute
Plus NoShade is no shadow, otherwise there is shadow!

Favorites Code
<a onclick= "javascript:window.external.addfavorite (' site domain name ', ' website title ');" href= "#" > Favorites Site </a>

Come here, the 3rd section of the content, do not understand to find me!
qq:200890245 male Son

Show the station: Male voting platform
http://www.xztppt.com.cn
You can find the favorite code!

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.