Study notes on HTML (1)

table of Contents

  • Some commonly used shortcut keys about vs code
  • HTML initial code creation
  • HTML comments
  • HTML highlight tags
  • HTML subscript text
  • HTML delete text, insert text
  • HTML image tag
  • HTML file import address
  • HTML jump link
  • HTML jump anchor
  • HTML special symbols
  • HTML list

1. Commonly used shortcut keys of vs co****de

Insert picture description here

2. The establishment of HTML initial code

Insert picture description here

3. HTML comments

Insert picture description here
The results are as follows:
Insert picture description here
add comments: theInsert picture description here
results are as follows: the
Insert picture description here
commented code will not be displayed in the web page, the shortcut add/delete key: ctrl+/ or shift+alt+a (select the target)

4. HTML emphasizes tags

Insert picture description here
The results are as follows:
Insert picture description here

5. HTML subscript text

Insert picture description here
The results are as follows:

Insert picture description here

6.HTML delete text, insert text

Insert picture description here
The results are as follows:
Insert picture description here

7. HTML picture tags

Insert picture description here
The result is as follows: Regarding the display of the title, it will be displayed when the mouse is placed on the picture.
Insert picture description here

8. HTML file import address

Insert picture description here
Insert picture description here

9. HTML Jump Link

Insert picture description here

10. HTML Jump Anchor

Insert picture description here
The result is as follows:
Insert picture description here
When you click on css, it will jump:
Insert picture description here
Method 2:
Insert picture description here
Take a closer look! Find the difference!

11. HTML special symbols

Insert picture description here

12.HTML list

Unordered list:

Insert picture description hereThe results are as follows:

Insert picture description here
Ordered list: ol, and li tags, usage is the same as ordered list, but
Insert picture description here
*** definition list is not commonly used : ***Insert picture description here
results are as follows:
Insert picture description here

Guess you like

Origin blog.csdn.net/zjdzka/article/details/109318791
Recommended