Summary of HTML knowledge points
Jul 18, 2017 pm 05:17 PM
An overview
1. What is HTML?
HyperText Markup Language, Hypertext Markup Language, client-side technology, responsible for page display.
2. Characteristics of HTML
Tags are not case-sensitive.
3. Request address
HTML is the basis of client technology. HTML runs on the client and faces the entire Internet. In order to ensure correct To locate resources locally, when writing the request address , the complete format must be written, and the relative format cannot be used because there is no relative resource on the client.
Two tags
1. Various tags (jstl) or expression languages are improvements to the JSP page writing method, mainly used In order to reduce the nesting of java code, it can only be used in JSP files and cannot be used in HTML files.
2.<base href="xxxx/">: Define a default root path for all relative paths used in the page, that is, when accessing a certain path on the page Add the root path defined by the
<base> tag in front of the path. The defined default root path must end with "/". 3.radio/checkbox/select: The text displayed in the radio and checkbox is only a prompt message, not the data transmitted to the server when the data is submitted. It needs to be
in the label The value passed when the tag is selected is specified internally through the value attribute. 4.<link ref=""type=""href="">: used to load external files to the browser.
- can only be used within the <head> tag.
##<link ref="stylesheet" type="text /css"href="">: Link style sheet.
-
<link ref="shortcut icon"type="image/x-icon"href="">: Insert an image in the page title.
## 5. The <div> tag is a block object, which occupies one line by default. You can use the CSS attribute float to move the <div> object so that it only Occupies the specified space and releases the remaining space in line
for use by other elements.
Three forms
1.Hidden function
Hidden domain hidden does not take up space, use Used to send data to the server that does not require direct user input, such as certain calculation data and built-in data.
2. Data submission form
Form input transmits data to the server in the form of a character array.
3. True and false attributes
Part of the judgment attributes in the form input tag <input> (the value is false or true), when If the value is true, you can omit true and only write the attribute name. This point is different from the Strust tag. If an attribute in the Struts tag has a value of true, you must completely write out the statement that assigns a value of true.
(Continuously updating......................)
The above is the detailed content of Summary of HTML knowledge points. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How do you parse and process HTML/XML in PHP?
