MindMap Gallery HTML mind map
Mind map about front-end learning, including html tags, paths, other tags, web standards, HTML skeleton, etc.
Edited at 2022-03-27 15:41:03This is a mind map about bacteria, and its main contents include: overview, morphology, types, structure, reproduction, distribution, application, and expansion. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about plant asexual reproduction, and its main contents include: concept, spore reproduction, vegetative reproduction, tissue culture, and buds. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about the reproductive development of animals, and its main contents include: insects, frogs, birds, sexual reproduction, and asexual reproduction. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about bacteria, and its main contents include: overview, morphology, types, structure, reproduction, distribution, application, and expansion. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about plant asexual reproduction, and its main contents include: concept, spore reproduction, vegetative reproduction, tissue culture, and buds. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about the reproductive development of animals, and its main contents include: insects, frogs, birds, sexual reproduction, and asexual reproduction. The summary is comprehensive and meticulous, suitable as review materials.
HTML
html tag
Tag classification
double label
<p>Paragraph</p>
Single tag (empty elements do not need to contain content)
<br/> <hr/> <img/> <base/> <meta/>
tag relationship
Nested relationship (parent-child)
<div><span></span></div>
Parallel relationship (brothers)
<div></div><span></span>
Common tags
p: paragraph
br: newline
hr: Horizontal line is rarely used
hx: title h1~h6
div: display up and down: one per line
span: display in one line: multiple in one line
text formatting tag
Bold
b
strong
tilt
i
em
Underline
u
ins
strikethrough
s
del
Label attribute
<tag name attribute 1="attribute value 1"...> content </tag name>
For example: <img src="media/tab.png" />
img picture tag
src
Image source path
Attributes
alt
When the picture cannot be displayed normally, replace it with text.
title
Display text when the mouse passes over the image
width
width
height
high
link tag
Syntax format
<a href="Jump target" target="How the target window pops up">Text or image</a>
target
Current window: _self
New window:_blank
a href
external link
http://www.baidu.com
internal link
index.html
Anchor positioning
Build relationships: <a href="#two">
Find the target: <h3 id="two">Episode 2</h3>
path
relative path
Same level path
Next level path/
Previous level path
Absolute path\
"D:\web\img\logo.gif", or the complete network address, such as "http://www.itcast.cn/images/logo.gif".
Other tags
base tag
All web pages open in new windows
Written in head: <base target="_blank" />
pre-formatted text tag: Display the page according to our pre-written text format, retaining spaces and line breaks, etc.
Special characters
HTML skeleton
html
head
Document header
title
Document title
body
Document topic
DOCTYPE
Document type html5
charset="UTF-8"
character set
lang
The language type is English lang="en"
web standards
structure
html
Body
Expression (style)
css
dress up
Behavior
JavaScript
action skills
HTML
list
Purpose: for layout
Ordered list: ol li
<ol><li></li></ol>
Unordered list: ul li
<ul><li></li></ul>
Custom list: dl dt dd
form
Purpose: To collect user information and interact with users
Attributes
type
Form type: used to specify different control types
value
Form value: the text displayed by default in the form
name
Form name: There are many forms on the page, and the main function of name is to distinguish different forms.
checked
Selected by default: Indicates that the radio or check button is selected from the beginning
The complete form consists of three parts
Prompt message
form: form field
form control
text box
type="text"
Single label: only one line can be displayed
Password box
type="password"
Single box
type="radio"
checkbox
type="checkbox"
Normal button
type="button"
submit button
type="submit"
reset button
type="reset"
image button
type="image"
file domain
type="file"
text field
<textarea></textarea>
Double label: display multiple lines
drop down form
select
<select><option></option></select>
form
label label
Goal: The main purpose of the label is to improve user experience. Provide the best service to users.
Method 1: Use label to directly include the input form.
<label> Username: <input type="text" name="usename" value="Please enter username"> </label>
Method 2: The for attribute specifies which form element the label is bound to.
<label for="sex">Male</label> <input type="radio" name="sex" id="sex">
sheet
Purpose: Used to display data so that the data can be displayed neatly and standardly
composition
table
tr line
td cell
th header cell
Attributes
cellspacing The distance between cells and cells
cellpadding The distance between cell content and cell border
table title
Caption is written into the table
Merge Cells
Top and bottom: merge rowspan across rows
Left and right: merge across columns colspan
Three major steps
1. First determine whether to merge across rows or columns
2. Find the target cell according to the principle of first up, then down, first left, then right.
3. Delete cells. The number of deleted cells = the number of merged cells - 1
table division structure
<thead></thead>: used to define the header of the table. Used to put things like titles. <thead> must have <tr> tag inside!
<tbody></tbody>: used to define the body of the table and put the data ontology.
Foot: <tfoot></tfoot> Place footnotes for tables and the like.
The above tags are all placed in the table tag.