MindMap Gallery html
This is a mind map about html. What is html? Commonly used tags include pictures, hyperlinks, lists, tables, media elements, forms, text tags, and tag classifications.
Edited at 2022-12-02 19:20:23This 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
Press Enter to add a topic
What is HTML
what is it
It is a hypertext markup language that can realize the development of web pages. Use tags (tags) to implement hypertext in web pages (not just text but also pictures, audio, etc.) The content of web pages is implemented with tags
The basic structure of HTM L
<html> <head> <title>title</title> </head> <body> HTML tags are all written in the body </body> </html>
Commonly used tags
Label classification
Single label There is only one label
Generally it is only used for setting. For example:<br/><hr/>
End/can be omitted
Double label Label has two components
Generally, it has the function of inclusion. For example: <p></p> A p tag should contain the entire paragraph.
End/must not be omitted
Whether to occupy a row
Inline elements (inline elements): The content determines the width of the label and can be displayed on the same line as other inline elements.
Block-level elements: The default width is the same width as the window. No matter how much content occupies an exclusive line, it cannot be displayed on the same line with other tags.
Note: When included: block-level elements include inline elements (those at the same level can also include each other) For example: If the tags in the paragraph are bolded, it must mean that the p tag contains the strong tag, but not vice versa.
Text class tags
<p></p> Paragraph tag
Effect: line wrapping, larger spacing, block-level elements
<h1-h6><h1-h6> title tag
Effect: Line break, bold font, block-level elements
<strong></strong> Bold
Effect: no line breaks, bold font, inline elements
<em></em> italic
Effect: no line breaks, font italics, inline elements
<br/>
Effect: line wrap, spacing unchanged
<hr/>
Effect: generate a horizontal line
Special symbols: symbols that cannot be directly recognized by HTML or have special functions. For example: spaces cannot be used directly in html, so use   If you write <>html directly, it will be recognized as a tag. If you want to use > and less than name, you must use & gt and & lt.
Space 
greater than>
less than<
Copyright & copy
picture
Label
<img attribute 1 = "attribute value 1" attribute 2 = "attribute value 2" /> inline element
Attributes: Enhance the effect of labels
src: Set the image path (it is recommended to create a new folder to save images in the same folder of the web page)
1. Path simplification
2. Convenient to move
width: Set the width of the image
height: Set the height of the image
alt: text description when the picture fails to display
title: Set the text displayed when the mouse passes over the image
Note: When only one width or height is set for the image, the image will be scaled in equal proportions. If both are set, it may cause the image to be out of proportion.
Hyperlink
Function: When you click on part of the content, you can jump to another page (hyperlink) <a href=""target="">Clicked content</a>
href: Set the path of the page to jump to. For example: folder name/file name shouye/goods.html
target: Set the opening method when the page jumps. _blank: Open a new window and display the new page.
Clickable content: All content in html can be used as clickable objects
Function: When clicking on part of the content, you can jump to a specified location (anchor link)
Step 1: Set the anchor point first: Set the anchor point at the fixed position you want to jump to <a name="#anchor name"></a>
Step 2: Jump to the anchor point 1. The same page 2.<a href="Path of the page where the anchor is located#anchor name">Content</a>
a. Jump to a specified location on the same page b. Jump to a specified location on another page
Note: Without adding #, the default is page
list
Unordered list .<ul type=""> .<li></li> .</ul>
Ordered list 1.ol type="" 2.<li></li> 3.</ol>
Definition list: 1.<!--Definition list level one level two--> 2.<dl> 3. <dt>Oracle (66.300, -0.730, -1.09%) Academy</dt> 4. <dd>Big data applications and technology</dd> 5. <dd>Software technology</dd> 6. <dt>School of Fine Arts</dt> 7. <dd>Academic Studies</dd> 8. <dd>Garden Design</dd> 9.</dl>
sheet
Basic structure 1.<table>->table 2. <tr>->line 3. <td>Ordinary columns/cells</td> 4. <th>td with bold font</th> 5. </tr> 6.</table>
Across rows (vertically) 1.<table border="1"width="500"> 2. <tr> 3 <td rowspan="2">Zhang San</td> . 4. <td>Language</td> 5 <td>98</td> . 6. </tr> 7. <tr> 8. <td rowspan="2">John Doe</td> 9. <td>Chinese</td> 10. <td>100</td> 11. </tr> 12.</table>
Across columns (horizontally) 1.<table border="1"cellspacing="0"cellpadding="0"> 2. <tr> 3. <td colspan="2">Examination results</td> 4. </tr> 5. <tr> . 6. <td>Language</td> 7. <td>129</td> 8. </tr> 9.</table>
Cross-row and cross-column description: Cross-column: colspan Cross-row: rowspann Horizontal are rows, vertical are columns
media elements
audio audio
Attributes 1.controls: Display controls, such as pause and play buttons 2. loop: loop playback 3. autoplay: automatic playback
code 1.<!-- 2. No controls are displayed by default whether it is video or music. 3.--> 4. <audio controls="true"loop="true"autoplay="true"> 5.<!-- 6. Just like videos, provide as many music file formats as possible 7. The browser will automatically recognize the music format it can load. 8.--> 9. <source src="video/sound.mp3"> 10. <source src="video/sound.ogg"> 11. </audio>
video video 1.<!-- 2. Provide as many video formats as possible for the same video 3.. Make the video available to all browsers as much as possible 4. --> 5. <video width="400"controls="true"loop="true"autoplay=""true> 6. <!-- 7. Use source to allow the video tag to load the paths of multiple videos. 8. The browser will automatically recognize the video format it can load. 9. --> 10. <source src="video/for.mp4"/> 11. </video>
form
Form form: Anything that can be filled in or submitted with data on the page is a form. Note: All form elements must be written inside this tag, otherwise the filled-in content cannot be submitted.
form elements
input type: 1. type="text" text box 2. type="password" password box 3. type="file" file field, used to upload files 4. type="number" number box 5. type="hidder" hidden field needs to submit some data, but some data can be hidden if the user does not need to see it. 6. type="radio" radio buttons. Note that the name attribute values of radio buttons in the same group must be consistent. Attribute: checked: Set to be checked by default 7. type="checkbox" check box Note that the name attribute value of check buttons in the same group must be consistent 8. type="submit" Submit button can be set according to your text content through value setting 9. type="reset" reset button to restore the elements in the form to their initial content 10. type="image" Submit button (picture type) can set the button image through src="" Non-input type: Drop-down box: select text area: textarea 1.<!--Drop-down box (drop-down list): select 1.<!-- 2. option: an option in the list 2. Text field 3. selected: Set the default selected item 3. cols: Set the number of columns displayed in the text field 4. --> 4. row: Set the number of rows displayed in the text field 5. <select name="nian"> 5.--> 6. <option> 6. <textarea name="beizhu" cols="20" row="6"> 7. <option> 7. 8. <! --Set this item as the default item--> 8.</textarea> 9. <option selected>2000</option> 10. <option>2001</option> 11. </select>
1.
Other properties
readonly: read-only, can only be viewed but not modified
required: set as required
placeholder: Set the prompt text of the text box,
Press Tab to add subtopic
Double click to edit text