HTML as a file suffix, you can make the file into a Web page, can be opened by the browser;
Actually, HTML is a programming language, called Hypertext Markup Language;
The role of HTML is to make Web pages;
Hypertext: More than the text has a picture
Format:
<body></body>--Role:
DW Introduction: General code, split, design.
Create Web page: File--New--Create
Properties of the body:
Background color and background image in body <body bgcolor= ""/background= "></body>
TopMargin: Top margin
BottomMargin: Bottom Margin
LeftMargin: Left Margin
RightMargin: Right page margin
Text:
Base style, 6 kinds: bold, italic, underline, color, size, font
One, bold, tilt, underline
<b><i><u>hello world</b></i></u>
Second, color, size, font
<font color= "read" face= "Blackbody" size= "7" > World Hello <font>
Third, line-wrapping
<br/>
Four, space
Design Interface Ctrl+shift+space
V. Paragraphs
<p> content </p> The spacing between the top and bottom of the paragraph is large
Six, center
<center></center>
Seven, a single row of labels
<div></div>
Viii. How much space is used by default
<span></span>
Content container Tags:
1. 2. <div> Content </div> Layer label (default line, layout)
3. <span> Content </span> layer tag (to find content)
4. Ordered list
<ol>
<li> content </li>
<li> content </li>
</ol>
Unordered list
<ul>
<li> content </li>
<li> content </li>
</ul>
Insert Picture
title= "picture-hidden content"
Hypertext links
Super Link:
1. Add hyperlinks to Text
Code writing Format:
<a href= "connected to" > User-visible content </a>
"Note: Connect to the address must write the full address!"
If the page you want to connect to is in a folder, write the address and write the folder name "
2. Add hyperlinks to Images
Code writing Format:
<a href= "connected to address" ></a>
3. Add Plug and Play connection to text and pictures
Code writing Format:
<a href= "connected to" > User-visible content </a>
How do I open a connected page in a new window?
Code writing format: <a href= "connected to address" target= "_blank" > User visible Content </a>
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
HTML Basic Introduction