Line feed Implementation of the title attribute in html, and line feed of the htmltitle attribute

Source: Internet
Author: User

Line feed Implementation of the title attribute in html, and line feed of the htmltitle attribute

This article describes how to implement titile attribute line feed. <Title> An element defines the document title and can be applied to labels such as img and.

1. Implementation Method:

<! DOCTYPE html> 

2. effect:

 

3. Principles

First understand the Escape Character: https://baike.baidu.com/item/%E8%BD%AC%E4%B9%89%E5%AD%97%E7%AC%A6/86397? Fr = aladdin

 

In html, the carriage return and line break are:

& Amp; #10;-Line feed
& Amp; #13;-press ENTER Carriage Return

Therefore:& Amp; #10; and & amp; #13;Supports line feed of the title attribute.

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.