HTML Basic Knowledge Summary
Elements of HTML
the definition of the structure and format of a Web page document is done by an HTML element, which is also a contained range defined by a single or a pair of tags.
A tag is a string of less than < and greater than >, and the start tag refers to a tag that does not start with a slash/header, which is a string of allowed properties-value pairs, and the end tag is a slash/start tag.
the framework of HTML
The framework is the basic format of HTML authoring Web pages.
We are writing HTML documents, even if we do not follow the HTML framework format, the current browser we use, such as IE, can also be very good to parse the document.
in an HTML document, the properties of a tag are optional, and when you write a label, you can write its properties or not write it as needed.
in an HTML document, you can add double quotation marks or no addition when assigning a value to a label's properties.
in HTML, the case of tags and attribute names is irrelevant.
in an HTML document, if there are several consecutive whitespace characters, such as spaces, tabs, carriage returns, line feeds, and so on, the browser will only resolve to a single space character when displayed.
colors in HTML
in the computer, the RGB color is usually used to represent the color, the HTML is no exception, but also the use of RGB to represent.
tags related to paragraph control in HTML
tags related to text display in HTML
special characters in HTML
in the HTML how to enter special characters, for the presence of these special characters on the keyboard, you can directly tap the input, for special characters that do not exist on the keyboard, you need to refer to the way to enter.
in HTML, there are two types of references: character reference, entity reference.
in an HTML document, the names of tags and attributes are case-insensitive, can be uppercase or lowercase, but entity references are case-sensitive.
comments in HTML
In many cases, the code's comments are used when writing HTML code.
HTML In the notation, there is only one, is first with a less than the beginning, followed by an exclamation point, followed by two short lines, the middle is the specific content of the note, with two short lines, with a greater than the end of the note.
The lower part of the beginning and the exclamation point can not have spaces, the contents of the note can not be added two short lines, with a greater than sign, which indicates the end of the comment.
Hyperlinks in HTML
Hyperlinks in HTML are implemented by URLs.
an image in HTML
Common image formats in HTML include two gif, JPEG.
gif is used only for 256-color images, suitable for images that do not require a large number of colors, and JPEG, which is suitable for some images that require higher image quality.
HTML Basic Knowledge Summary