最基本的HTML標籤:連結、FRAMES、span、p還有樣式表css,這些都要學會才可以手寫HMTL程式碼。
1. Links
Hypertext links in HTML are very important. The basic format is as follows:
Link Text
1. Local link
①Absolute Road King:
Absolute Road King links to local pictures
②Relative Road Jin
Relative Road Jin links to local pictures
③Links to the upper level directory
Link to the upper-level directory
2. URL link
Format: protocol name://host.domain name/roadjin/file Name
protocols include:
file Local system file
http WWW server
ftp ftp server
telnet TELNET-based protocol
mailto Email
news Usenet news group
gopher GOPHER server
wais WAIS server
Such as: Baidu
3. Directory link
First set a certain paragraph as the link position, the format is:
Then call the file of this link part and define the link:
Link text
Of course, if you jump within a file, the file name can be omitted.
2. Multi-view window FRAMES
HTML files designed using the FRAMES structure can divide the entire window into several independent small windows. Each small window can load different files and can communicate with each other.
1. Basic structure: