0923html test
Format description
Examples of formatting:
Requirements: write out the usage of the span tag
answer:
<span>内容</span>
note:
If the label has multiple levels of nesting, pay attention to indentation when writing
01 Write out the skeleton format of html
Prompt keywords
- !doctype
- html
- lang
- zh-
- head
- title
- body
Claim
- The required language is Chinese
- A document that declares the web page as html5
- The browser’s tab page displays the content: My test
- The main content of the page is: test body
02 Write out the format of the article's topic tag
Tip: hashtags have 1 to 6 levels
03 Write out text formatting tags
- Bold label
- Italic label
- Strikethrough label
- Underline label
04 Format of label attributes
Write the format of label attributes
The nouns that need to be used are:
- Label name
- Property 1
- Value 1
- Attribute n
- Value n
Use prompt words to complete formatting
05 Use format of image label
Need to use tag names and attributes
- img
- src
- alt
- title
- width
- height
Please organize the format to complete the writing of the format
example:
<video src=视频的路径, controls="controls"></video>
Write clearly the functional purpose of the img attribute
06 The use of anchor tags
The function of the anchor tag is to realize the jump within the page
There are two steps to use it
Write down what the two steps do
07 Use of special characters
Write the special characters of the following symbols
- Greater than sign,>
- Less than sign, <
- Space symbol,
08 html comment format
Write the format of the comment
Need to use words
- Comment content
Please enclose [note content] in the comment format