HTML/CSS/Style Basics/entity
Содержание
A browser interprets only the following characters as whitespace: space ( ), tab ( ), newline ( ), and return (
).
<source lang="html4strict">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body>
Embedding Space Entities
space ( ), tab ( ), newline ( ), and return (
) </body> </html>
</source>
Bottom ↓
<source lang="html4strict">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> </style> </head> <body>
Inline Box
Bottom ↓
</body> </html>
</source>
Copy sign
<source lang="html4strict">
<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head> </head> <body>
All information on this site is © </body> </html> </source>
Display Quote
<source lang="html4strict">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Phrase elements</title>
<style type="text/css">
</style>
</head>
<body>
<p>#!/usr/local/bin/perl
print "Content-type: text/html\n";
print "Hello World\n";
</body> </html>
</source>
Embedding Space Entities
<source lang="html4strict">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body>
Embedding Space Entities
‌
AA
 
Athinsp;A
A A
 
A A
 
A A
</body>
</html>
</source>
¼
<source lang="html4strict">
<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head> </head> <body>
Note: < ¼ of the information presented here is updated daily.
</body>
</html>
</source>
← Left
<source lang="html4strict">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> </style> </head> <body>
Inline Box
← Left
</body> </html>
</source>
Right →
<source lang="html4strict">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> </style> </head> <body>
Inline Box
Right →
</body> </html>
</source>
& sign
<source lang="html4strict">
<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head> </head> <body>
& Associates, Inc. 2002.
</body>
</html>
</source>
Special Characters
<source lang="html4strict">
Symbol Description Entity Name Number Code & Ampersand & & < Less than < < > Greater than > > " Double quote " "
Non-breaking space </source>
↑ Top
<source lang="html4strict">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> </style> </head> <body>
Inline Box
↑ Top
</body> </html>
</source>