Html single quotes, double quotation marks escape, double quotation marks escape

Source: Internet
Author: User

Html single quotes, double quotation marks escape, double quotation marks escape

Today, after an HTML template is edited in the TRS background and saved and released, an error is reported when the modified page is previewed. But I only added the following red code.

<P>

<Span style = "color: # ff0000;"> content </span>

</P>

So I removed the above Code and it was normal. Then the problem was found in the code I added, but there was no error in the Code. So I found out other code in the template.& Apos; and& Quot; Code

After searching online, we found that & apos; is the Escape Character of single quotation marks and & quot; is the Escape Character of double quotation marks. I changed the above Code

<P>

<Span style = & quot; color: # ff0000; & quot;> content </span>

</P>

Save release preview. OK!

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.