Tips (for memorize)
HTML doesn’t need to differentiate the cases, <h1> and <H1> are the same, but most of them are in lowercase.
HTML file has its own fixed structure.
The <head> tag is used to define the head of the document. The elements include tags such as <title>, <script>, <style>, <link>, <meta>, etc. Between the <body> and </body> tags, the content is the main content of the webpage, such as <h1>, <p>, <a>, <img> and other web content tags
Create the five elements of the table:
table, tbody, tr, th, td
<table>…</table>: The entire table starts with a <table> tag and ends with a </table> tag.
<img> tag, insert a picture for the web page
alt: Specify the descriptive text of the image. When the image is not visible (the download is unsuccessful), you can see the text specified by the words.
Many semantic tags have been added to HTML, such as header, footer, body, article, address, etc. When you see it, you probably know which parts are used to describe them. The semantic label of HTML (in simple terms) is to make the label have meaning as if it directly tells you what organ and part it is, instead of using other labels to piece it together. It looks like a human body with systematic layers.
Putting a semantic tag on a piece of content can make the page have a good structure, it is also easier to understand what the content is, and it is helpful for search it. I think that in future program design, there will be more and more semantic tags, and more and more people can master programming through simple learning.