1. What is HTML?
HTML (hypertext mark-uplanguage) is a hypertext markup language. It is mainly used for webpage display of text, images, videos, and sounds...
HTML can only be used as a static webpage
Ii. HTML Development History
Father of html-Tim Berners-Lee
(Tim Berners-Lee) was born on June 8, 1955 in London, England.
See http://blog.csdn.net/chinayaosir/article/details/2982025 for details
3. W3C Introduction
World wide web consortium stands for the W3C council or the world wide web alliance. W3C was founded in October 1994 at the computer science lab of the Massachusetts Institute of Technology, founded by Tim Berners-Lee, father of html.
W3C is a non-profit organization developed by network standards. standards such as HTML, XHTML, CSS, and XML are all customized by W3C.
First-class companies set standards
Second-stream companies provide services
Third-stream companies make products
Streamcompute Projects
Iv. HTML operation
Basic html Structure
<Html>
1. Run locally (open in a browser)
2. Remote Access
Install the tomcat server for remote access.
5. Symbolic entities in html
Vi. Image Display and link
<Html>
<Html>
7. display table
<Html>
Border: border width. The default value is 0.
Width = "60%": The table width, accounting for 60% of the parent container.
Cellpadding = "10": indicates the distance between the content and cells.
Cellspacing = "10": the distance between cells and other cells.
Table alignment:
Align attribute: Horizontal Alignment
Valign attribute: vertical alignment
Irregular table:
Colspan attribute: Merge horizontal cells
Rowspan attribute: Merge vertical cells.
8. Framework
By using the framework, you can display more than one page in the same browser window. Each HTML document is called a framework, and each framework is independent of other frameworks. Disadvantages of using the framework:
Developers must keep track of more HTML documents at the same time.
Hard to print the entire page
-
Framework Structure tag (<frameset>)
-
- Framework Structure tag (<frameset>) defines how to split a window into a framework
- Each frameset defines a series of rows.OrColumn
- The value of rows/columns specifies the area on the screen occupied by each row or column.
Main Page .html (note that the body label cannot be used when the framework is used)
<Html>
The role of noresize = "noresize" is not to stretch each frame.
Frameborder = "0" sets the Border width to 0
Title.html
<Body bgcolor = "# FFA54F"> <div id = "container"> <div id = "header"> <div class = "header"> <div id = "blog_title">
A.html
<Body bgcolor = "pink"> <! -- Target indicates that after we click, target to whom --> <a href = "B .html" target = "frame2"> return to the home page >></a> <br/> <a href = "http://blog.csdn.net/column/details/android-growup.html" target = "frame2"> Android cainiao growth notes </a> <br/> <a href = "http://blog.csdn.net/column/details/dawanganban-html5.html" target = "frame2"> small HTML5 mobile development Path </a> <br/> <a href = "http://blog.csdn.net/column/details/dawanganban-linux-n.html" target = "frame2"> laruence's Linux Private food notes </a> <br/> </ body>
B .html
<Body bgcolor = "# F2F2F2"> <a href = "http://blog.csdn.net/dawanganban"> </a> </body>