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.: 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
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.: used to load external files to the browser.
can only be used within the tag.
#ref: Defines the relationship between the external document and the calling document.
#type: Defines the MIME of the document. MIME, Multipurpose Internet Mail Extension, specifies an application that opens files with a certain extension. When the browser receives the file, it first checks the MIME of the file, and then calls the corresponding application to open the file. The server must specify MIME for the response, otherwise the browser cannot open it.
#href="": The path of the called file.
Example:
##: Link style sheet.
: Insert an image in the page title.
## 5. The
tag is a block object, which occupies one line by default. You can use the CSS attribute float to move the
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 (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!
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn