<

HTML Tutorial

by Trainer Riad Thalji

Character Entities

  • Special characters like white space, the & sign, the copyright mark © and many are included in my text articles.
  • Special characters can sometime confuse the browser, leading to displaying them incorrectly, they sometimes interfere with the HTML syntax.
  • A white space for instance, will not be interpreted as a space as browsers usually neglect white spaces.
  • For example:
    • &nbsp; represents a white space that will be forced at the location where it.
    • &reg; will display the registration mark like this: ®.
    • &#36; will display the dollar sign $.
    • &copy; will display the copyright mark ©.
    • &#37; will display the percentage sign %.
  • Many other entity symbols are available, we always refer to HTML references of code editor help and its code since to find them.


Example:


<!doctype html>
<html>
<body>
<h1>Software Sales Report </h1>
<p>50&#37; of our computer software customers comes from the computer science and Engineering school, where, their revenue per months reaches US&#36;150,000. </p>
<h2>We found these facts: </h2>
< Microsoft Windows&reg;&nbsp; 30&#36; <br />
Microsoft Office&reg;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25&#36; <br />
<p>We should give good discount for this reason. </p>
<p>Well this is not the perfect way of displaying tables in HTML, we just presented this way in a sake of providing an example of using entity symbols. </b>
</body>
</html>


The output will be as follows:






From the Video Library

How to Create Multi-Lingual Navbars in ASP.Net Core 2.1

How to Create Multi-Lingual Navbars in ASP.Net Core 2.1 | Advanced Programming Series | Riad Thalji

How to Create Multi-Lingual Navbars in ASP.Net Core 2.1

How to Quickly Import Data between Excel, Access and SQL Server

Project Management Office - PMO

Project Managemenet Office - PMO Crash Course

Project Management Office - PMO

How to Create Nested Layouts in ASP.Net Core 2.1 | Advanced Programming Series | Riad Thalji

Developed by Thalji.net, © Riad Thalji