1.HTML is a markup language
2.HTML elements are case insensitive//can be used when XSS bypasses WAF
3.<code></code> is an empty element label
<code/> Self-closing labels
4. An element can apply multiple attributes, separated by a space between the attributes
5. Attribute order is not required
6. Boolean Properties
Example: Disabled
Disabled= ""
disabled= "Disabled"
Same effect
7. User-Defined property = data-property = "Name"
8.<! DOCTYPE Html> to the browser that the HTML tag is being processed
The 9.<body> element is the presentation of the content of the page to the user
10.HTML5 to divide elements into three different types
Meta-data elements (metadata Element)
Streaming data Element (flow element)
Phrase elements (phrasing element)
11. Each element has its own set of attributes called local properties
12. Global attribute can configure the common behavior of all elements
13.class Properties
Categorize elements to facilitate CSS design styles, one element can be grouped into several categories.
<a class= "Class1 class2" href= "http://www.paxmac.org" >paxmac</a>
14.<style type= "Text/css" >
. class2{
Background-color:grey;
Color:white;
}
15.dir Properties
The dir attribute is used to specify the direction of the text in the element. There are two valid values: Ltr (left-to-right text) RTL (right-to-left)
16.contenteditable
Content can be edited by users
17.hidden Properties
The Hidden property is a Boolean property that indicates that the current related element does not need attention.
18.draggable Properties
Indicates whether the current element can be dragged and dropped
19.dropzone Properties
Used in conjunction with the Draggable property.
20.lang Properties
You must use the ISO code
21.id Properties
Used to assign a unique identifier to an element.
Define a style with a # sign followed by an ID property value
The ID property can also navigate to the specified location in the document. If an HTML contains an ID, then example.html#myelement can navigate directly to the element, which is called the URL fragment identifier at the end of the URL.
22.spellcheck Properties
The browser checks what the user can edit, and accepts only two values: True,flase
23.style Properties
The Style property is used directly to define CSS styles on elements.
24.tableidnex Properties
Keyboard focus on an HTML page can be toggled between elements by tabbing, Tableindex can toggle the tab switch order, and if set to 1, it will not be selected
25.title Properties
The Title property provides additional information about the element.
HTML Knowledge points