Common HTML tags for beginners (3) List tags: html list tags for beginners
In the third blog, we are talking about inserting link tags. We usually see blue link tags, images, and emails on webpages, these are the functions of inserting the tags of The Link class.
<A> </a> link tag
<A> a link tag can be used as a hyperlink. It is everywhere in a webpage. As long as there is a link, it will have this tag. Its syntax is different from other tags, for beginners, after all, they do not add attributes to tags at the beginning, <a> the syntax is <a href = "target URL" title = "move the mouse over the displayed text" target = "_ blank"> text displayed on the Link </a>. the title attribute is displayed when the mouse slides over the text of the link. It has a great practical effect and makes it easier for the search engine to understand the content of the link address. The professional point is that the semantics is more friendly, this is required in actual development. the default style will be blue. Similarly, you can modify it after learning css. the "_ blank" attribute of target is opened in a new window, that is, a new one is displayed, so that the user experience in use is quite good.
Mailto is also a feature of the <a> label. You can send emails to a specified account and add specific CC subject content and other information, however, I personally feel that it is not very useful in actual development. so I will not discuss it much. If you are interested, you can use Baidu.
Image Tag
labels are essential in the production of web pages. To ensure the diversity and diversity of web pages, inserting images is essential. At this time, you can insert an Image Tag. the syntax of image insertion is similar to that of link: , the title is not explained above. alt refers to the descriptive file of the image, that is, when the image fails to be loaded, you can see the text set for this attribute. images can be in GIF, PNG, JPEG, and other formats.
These are simple layout labels and the most basic labels. They will be more complicated to write in the future. They will also be used for future review. I wish you a happy New Year, everything goes well.