Detailed HTML elements
Typically, an HTML element (Element) is composed of three parts, i.e., the start tag (Opening Tag), the content (the Content), an end tag (Closing Tag)
Empty elements (Empty Element): ie without any content, such as img, br, meta, etc., only began as an empty element tag
Element names are not case sensitive, but for readability and consistency, usually in the form element names are in lowercase
HTML comments
Use <! - and -> content expansion up to annotate content, the browser will be simply ignored in the implementation of
HTML elements can be divided into two types:
-
Block element (Block Elements), used as a container, which may be a block-level sub-element or inline elements, for example: p, div and the like,
-
Inline (inner line) of elements (In-line Elements), usually as a child element of block-level elements, for example: img, a like
Nested elements
Child elements, nested careful not to cross
Text mark
p
strong bold
em tilt
ul: unordered list (unordered list)
ol: an ordered list (ordered list)
(Ul and ol list items are used li (ie list item) element tags)
Entity Reference
Encoding special characters, such as:
-
<:
<
-
>
:>
-
" :
"
-
' :
'
-
& :
&
-
Space:
Boolean attribute (Bool Attribute)
No property value of property, in fact, attribute values and attribute names such attributes are the same, in order to more concise, property values can be omitted
disabled
div element
The general block-level elements, other elements container primarily intended for
span element
Generic inline element
Table (table)
<table> element represents a table
<tr> element represents a row of the table of contents
<th> element represents the header cell (labeled header information) as a child element of tr
<td> element indicates normal cells
Page layout
-
layout table (already out)
-
div + css layout (very popular)
Form (Form)
Gather user input different types of data
<form> : container form elements
<INPUT> : input element, designated by the common value of the type attribute allows the input data type, the type attribute are text (of any single line of text), password (password, echoing an asterisk or dots), Radio (radio button), checkbox (check box), submit (submit button), button (push button), email (e-mail), url (uniform resource locator), etc.
Note: form element after input focus to input data
Spread
-
Data is stored on disk
-
Delete a file, the file is not completely deleted, the process is such that its operation, the file system information is stored into two parts, part of the file node (i.e., the information described in the file), the other part is the data file , so the system open file what speed quickly, because it is found by the file node storage location of the file data, when you delete a file, delete a node file system, the data is not deleted, though you see the file is deleted, but the file data is still stored in the original location, but if you then create a new file, then the data was deleted files is likely to be covered, it means that once covered the real is deleted, it is impossible recovery, so when you accidentally deleted a file, do not operate the additions and deletions of files, use some file recovery tools as well as the chance of recovery
-
In the windows below the .py file into .pyw is hidden, you can not see the debug window, double-click operation, the operation will be hidden
-
kali linux hackers, some weapons
-
<! DOCTYPE html> document type stated
<hr> dividing line
-
In the img:
alt = "" replace text, that is, when the picture does not show up when the text is displayed, the picture will not be displayed to show this text
title: When the mouse on the picture, the contents will be displayed in the title
-
button: Button, which is inline element row can display a plurality of page
In the add button which can allow disabled button turns gray, not clickable state
-
cellspacing outer border
cellpadding within borders
colspan = "3" Cross 3
-
Same name radio will be referred to as a group, both will mutex
-