From the course: HTML Essential Training
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Character entity reference
From the course: HTML Essential Training
Character entity reference
- [Narrator] Sometimes you may need to use characters that are not on a standard keyboard, such as the copyright symbol. You can even include shapes like arrows, or a check mark. This website, HTML Arrows is one of the many resources that you can refer to to see a list of all the special characters and symbols. These symbols can be copied and pasted directly into HTML, but sometimes you may need to use the character reference, which are the special codes shown below each symbol. Let's look at a code pen demo. If I were to write an article about HTML, it would include some code samples, but if I try to add an HTML tag to be displayed as text, the browser will interpret anything enclosed within the angle brackets as HTML. In this case, I can't use the actual brackets. Instead, the character reference can be used to represent the brackets, also referred to as less than and greater than signs. Let's go back to HTML Arrows so we can take a closer look at the different formats. Scroll down…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Paragraphs and headings5m 41s
-
(Locked)
Ordered, unordered, and description lists5m 50s
-
(Locked)
Quotations3m 59s
-
(Locked)
Exercise: Formatting text, part 13m 4s
-
(Locked)
Date and time1m 48s
-
(Locked)
Bold and italics2m 25s
-
(Locked)
Character entity reference4m 39s
-
(Locked)
Exercise: Formatting text, part 21m 43s
-
(Locked)
Code and line breaks1m 21s
-
(Locked)
HTML and typography1m 29s
-
(Locked)
Challenge: Write text-based HTML markup for course project2m 52s
-
(Locked)
Solution: Demo3m 46s
-
(Locked)
-
-
-
-
-
-
-