Htmla link tag title attribute newline mouse hover prompt content newline effect _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
The title attribute in the link label is displayed with a line break when you hover over the mouse. How can this problem be achieved? There are two good methods below. You may wish to refer to them and hope to help you with the line feed layout method when hovering the mouse over an object and prompting the content (title attribute content, summary of the html title line feed method.

The title attribute of html displays a row by default. How to wrap the line? Here, DIVCSS5 summarizes the two line feed methods for your sharing.

1. line feed of the title content

When you enter the title content directly, the "Enter key" line breaks. The sample code is as follows:

The Code is as follows:


Title = 'subject: DIVCSS5
Prepared by: DIVCSS5
Last Updated:
Recommendation level: None
Keyword: title line feed
Paging mode: No Paging
Reading level: Regular '> html title attribute line feed


Browser effect:

Move the mouse over the text of the link to prompt the effect of line feed.

Ii. Wrap code using html title

There are two types of code that can be used to wrap a line when the title content in an html Tag is displayed.

1. The line feed code is:
"" And ""

"" Spelling:

& (And symbol, keyboard number key 7 together &) + # (well number) + 10 (Arabic numerals 10) +; (lowercase semicolon)

"" Spelling:

& (And symbol, keyboard number key 7 together &) + # (well number) + 13 (Arabic numerals 13) +; (lowercase semicolon)

All the preceding numbers must be in halfwidth mode. When using the code, you can select a line feed symbol (group) for the line feed.

2. The sample code is as follows:


The Code is as follows:


Title = "first, second, and third"> title line feed 1
Title = "description 1 Description 2 Description 3"> title line feed 2



3. Example



Instance code



The title attribute content is displayed when you move the cursor over the hyperlink to achieve line feed display.

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.