What Is an HTML Code Tag?
Hypertext Markup Language (an application of the standard universal markup language, the foreign language abbreviation HTML), is by far the most widely used language on the Internet, and it is also the main language that constitutes web documents. HTML text is descriptive text composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, and so on. The structure of HTML includes two parts: a head and a body. The head describes the information required by the browser, and the body contains the specific content to be explained.
- Hypertext Markup Language document production is not very complicated, but it is powerful and supports different
- One web page corresponds to multiple HTML files. Hypertext markup language files start with .htm (disk operating system
- There are some conventions or default requirements when editing hypertext markup language files and using related tags. [7]
- The file extension of the text markup language source program defaults to htm (the foreign language abbreviation for DOS restrictions on disk operating systems is the extension) or
- html (foreign language abbreviation for extension), for easy identification by the operating system or program, except for custom Chinese character extensions. When using a text editor, pay attention to changing the extension. The commonly used image file extensions are gif and jpg.
- Hypertext markup language source program is a text file, and its column width can be unlimited, that is, multiple marks can be written in one line, and even the entire file can be written as
- One line; if it is written in multiple lines, the browser generally ignores the carriage return characters in the file (except for the designation of the mark); the space in the file is usually not displayed as the effect in the source program. The complete space can use the special symbol (entity character) "& nbsp (Note that this letter must be lowercase, spaces can only be used)" means non-newline space; use the symbol "/" to separate file paths, file names and path descriptions can be double quoted. May not be enclosed in quotes.
- The tag element in the tag is enclosed in angle brackets, and the element with a slash indicates the end of the tag description; most tags must be used in pairs to indicate the beginning and end of the action; the tag element ignores case, that is, its role The same, but the complete space can use the special symbol "& nbsp (Note that this letter must be lowercase, spaces can only be used)"; many marked elements have attribute descriptions, which can be further limited by parameters, and the order of multiple parameters or attribute items is out of order It can be separated by spaces; the content of a markup element can be written on multiple lines.
- Marking symbols, including angle brackets, marking elements, attribute items, etc. must use half-width Western characters, not full-width characters.
- HTML comments begin with "<!-" And end with symbols "->", such as <!-Note content->. Annotation content can be inserted anywhere in the text. If any mark is inserted with an exclamation mark at the beginning, it will be marked as a comment and will not be displayed.