HTML links and Text labels _ Experience Exchange

Source: Internet
Author: User
We all know that the greatest feature of the Web page is the "link", and this is what we now seem to be accustomed to, so that our lives have undergone great changes, and this little label has made the world's countless internet geniuses. So let's take a look at the label's True colors:

Text area
Is this simple tag, in fact everyone is in use, with Dreamweaver can be very simple to add links. But even so we need to know what a property is, so that we can make better use of it. A is an inline tag, meaning that it does not produce a branch in itself. He is a vegetarian in the text. Then we all know that inline elements cannot contain block elements. That means that the block-level elements such as paragraphs, Div, and so on cannot be included in a. Do you have such a situation in your job? Did you add countless block-level labels to a? That from now on to get rid of this bad habit, so that not only can avoid some unnecessary bug problem, but also can give Google and other search engines a good impression, more points of impression. Of course other than the vibration is also recommended in the big guys add the Titile attribute in a. Cases:

Text area
Why do I do this, I have such an article "when the title can not be displayed full time", you can see, this is only the title attribute one of the small use, but the effect is very effective.

The URL of the href= "url" in the link tag is a very powerful thing, of course it's not part of our column, but it's also highly recommended for readers to read the relevant knowledge carefully. I found the relevant documents from the Baidu Encyclopedia, please click to read. About the link on the temporary only so much, if you have any questions please contact me via the contact information after the text or online message to me.

The headline is almost always a feature of all articles, and is also an important element of our knowledge and index articles. We perceive the core of the article through the title. So, you know what? Proper use of the title tag will make your article more interesting. We all know that XHTML provides us with H1~H6, six title tags, then how do we assign these six title tags to use? Here are some suggestions: H1, display the largest in the browser, then naturally used to represent the largest title, for a website which title is the largest? Is the logo, we usually in the first page of the site to mark the name of this site. So H1 is used to put the logo, of course, if your site does not have a logo, only a site name, that can also. Of course, the vibration is not recommended in everyone in the H1 to put a picture. We can completely use CSS to replace the word with a graph. And H1 only appears once in the recommended Web page.

When H1 finds a dedicated function, the load on the content, or the weight of its title, will be placed on a few other headline labels. In the remaining few headings H5 with H6 in the browser default display font is less than the normal text font. It is recommended that H5 and H6 be used only as a disclaimer or as a copyright notice. This means that the importance is not too obvious to affect reading. Use the title label as much as possible to pay attention to the hierarchical relationship between them. Of course, the use of the title should be based on actual use to decide. Here's just a suggestion. The title tag is a block line element, but he can no longer contain block-level elements, only inline elements such as links, images, line breaks, and so on. Remember a friend two days ago in the article mentioned about the title of the content, but the writing is wrong, he put the link in the H1 label outside, the H1 wrapped up, so the wording is not recommended. Also does not conform to the standard thought to be easy to the later study to produce the bad guidance.

Our article inevitably has the wrong place, then the mistake will change, but sometimes we need to tell the reader that this paragraph is deleted but can let the reader see. Then the effect of deleting the tag is generated. Previously we used Or To get a strikethrough effect. But this table is only a strikethrough effect, the semantics of No del is more explicit, so here I want to tell you to abandon the previous way, using This tag. It can also express the effect we need, and the meaning is more straightforward. In addition to deletion sometimes we also need to make some additions and modifications to the deleted parts. That's when the label is very useful. 。 No, I don't think so. We also know how to use these two tags, but don't forget to add two important attributes to these two tags: cite and datetime. Explained with time. Needless to say, just use the text to indicate why you want to delete it or why you want to insert it. But this time requires a clear format. The strict format is: Yyyy-mm-ddthh:mm:sstzd. Hehe is similar to what we usually use but there is a difference, where T is the required character that represents the beginning of the time period, while Tzd is the time zone, and Z is the Greenwich Mean time. The notation of a show is: 2008-03-25t14:26:22z

There are two labels in all tags that are style labels, but are not disabled, because the two tags are very special, superscript, subscript, subscript.

The two labels with the probability of relatively small, but superscript should still be commonly used, such as the temperature of the small circle of degrees Celsius, of course, there are professional characters corresponding to the "℃", as well as we often see the book footnote superscript [1].

HR, Split line, this label and line-wrapping label as long as the attention to the wording of the label can be


About the text part of the label here, of course, there may be a lot of tags, but some are not recommended to use, not commonly used, here is no longer recommended, interested can search the relevant space to read a bit. The next article will introduce CSS, a little bit of beautification of our documents.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.