Features of html 2

  • The start and end tags are also called open tags and closed tags.
  • There are also separate labels, such as: <img src="XXX.jpg" />etc.
  • Generally, tags that appear in pairs have their content in the middle of the two tags. The label that is presented separately is assigned a value in the label attribute. Such as <h1>标题</h1>and <input type="text" value="按钮" />.
  • The content of the webpage needs to be in the <html>label, the title, character format, language, compatibility, keywords, description and other information are displayed in the <head>label, and the content to be displayed on the webpage needs to be nested in the <body>label.

Guess you like

Origin blog.csdn.net/weixin_55323026/article/details/115004275