Get the App
SLTechnology News&Howtos  ›  Development  › 

How to output angle brackets of Html5

Shulou Source: shulou.com Published: 2022-06-01 13:08:16 09月30日 Update

This article mainly introduces Html5 angle brackets how to output related knowledge, detailed and easy to understand, simple and fast operation, has a certain reference value, I believe everyone read this Html5 angle brackets how to output the article will have some gains, let's take a look at it.

Examples in other languages

In other languages, there is something called an escape character. For example, in C language, the output string is surrounded by "", and when we need to use "" in the output string, we can use escape characters to change the meaning of the original character. For example,"" in the program meaning is to mark the beginning and end of the string, escape it with escape characters, escape characters after the "meaning is no longer the beginning and end. That is, there would have been a "as the beginning of a marker string, the end of a marker string, followed by a" escaped, the original "need to ignore this" to find the next. (The following code is shown):

print("This is a paragraph/" This is a paragraph ");

The code above has three quotes. The first quote is supposed to match the second quote, but the second quote is escaped and can only match the third quote.

in HTML

HTML takes a different approach--using additional special characters to represent it. In HTML, special characters require special codes to be output, such as spaces. These special codes have a common feature, they all start with & and end with;.

About "Html5 angle brackets how to output" the content of this article is introduced here, thank you for reading! I believe everyone has a certain understanding of the knowledge of "how to output the angle brackets of Html5." If you still want to learn more knowledge, please pay attention to the industry information channel.

Tags: Character output escape string quotation mark angle bracket special code tag knowledge language three content meaning article this is above something that is that is to say Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Docker OPPO Reno NVidia macOS