Special characters in html, PHP Web Programming

Assignment Help:

You have seen that there are definite characters which have special meaning in HTML code. For instance, the "< " and " > " characters delimit tags. If you wished to display such characters on the web page, you need to take care that the characters are not interpreted and literally displayed. To display the "<" character, it can be denoted as "<". The "&" interprets the "lt" as the "< " symbol & displays it. However now what if you wished to display & symbol itself? Simply writing "&" in the code will not display it. However first, let us see displaying some special characters. Consider the example illustrated in Figure and also look at Table

<HTML>

<BODY BGCOLOUR=″#FFFFFF">

This is         

Used for         blank space.

<BR>

<  is the Less Than symbol <BR>

> is the Greater Than symbol <BR>

& is the ampersand symbol <BR>

" is the quotation mark symbol <BR>

à is small a, grave accent symbol <BR>

À is capital a, grave accent symbol <BR>

ñ is small n, tilde symbol <BR>

Ñ is capital n, tilde symbol <BR>

ü is the umlaut small u symbol <BR>

Ü is the umlaut <BR>

 is the symbol Delta<BR>

¼ is the quarter symbol <BR>

½is the hay symbol <BR>

</BODY>

</HTML>

 

2271_Special Characters in html.png

Figure: Entering Special Characters

The special characters illustrated in Figure are some most frequently used characters displayed on web pages. Each special characters can be displayed using its character sequence after the "&". These can be illustrated in the following Table

 

Special Character

 

Character Symbol

 

Description

 

<

<

Less-than symbol

>

>

Greater-than symbol

&

&

Ampersand

"

"

Quotation Mark

 

 

Blank space

à

 

 

 

 

à

small a, grave accent

 

À

À

capital A, grave accent

n

 

ñ

small n, tilde

Ñ

Ñ

capital N, tilde

ü

ü

umlaut small u

Ü

Ü

umlaut capital U

 

 



delta

¼

¼

One Fourth

½

½

Half

Table: Displaying Special Characters

The browser will display your text in a steady stream if not you tell it to do so or else with line break. It will decrease any amount of white space to a single space. If you wished more spaces, you have to employee the space character ( ). If you hit Return (or Enter) whereas you are typing, the browser will interpret that as a space if not there is already a space there.

Consider another instance, which shows how to display multiple blank lines. Code a space character along with a line break for each of blank line you desired.

<HTML>

<HEAD>

<TITLE>XYZ</TITLE>

</HEAD>

<BODY BGCOLOUR="#FFFFFF"> Welcome to <BR>

 <BR>

 <BR>

 <BR>

 <BR>

 <BR>my page

</BODY>

</HTML>


Related Discussions:- Special characters in html

Need help in coldfusion api creation, Need help in ColdFusion API Creation ...

Need help in ColdFusion API Creation Our software product that is build in ColdFusion we need to create an API for it. Is this somewhat that you have experiences in? Desired

I want a simple wordpress blog, Wordpress blog I want a simple Wordpress...

Wordpress blog I want a simple Wordpress blog with the ability to upload articles in addition pics by myself. It want to be something like that - beside the articles I need sect

I need html5 audio recorder help, HTML 5 Audio Recorder (Hourly or Escrow) ...

HTML 5 Audio Recorder (Hourly or Escrow) I am in search of a talented fully experienced developer to build an audio recorder in HTML5 (WebRTC style). The audio recorder must wor

I want help in php, PHP, Wordpress Developer - with Mixpanel I am alteri...

PHP, Wordpress Developer - with Mixpanel I am altering from utilizing Aweber for email management to Mixpanel. I need you to develop a Wordpress plugin that will permit me to

Need help in online food delivery web, Need help in Online food delivery we...

Need help in Online food delivery web Not a usual online food delivery web. We want develop the web user interface as well as functionality from MySQL EER diagram model. Job

I want help in bitcoin stock exchange, Bitcoin stock exchange Make a bit...

Bitcoin stock exchange Make a bitcoin stock exchange a full functional copy of other stock exchange Must accept bitcoins as well as nextcoins through automatically deposits f

Wordpress theme change for new site, Wordpress Theme Change for New Site ...

Wordpress Theme Change for New Site I need to hire somebody to take an existing WordPress site as a base then make a new site from that base. The merely changes will be the look

Design a website in wordpress using custom css, I have a WordPress website ...

I have a WordPress website that is about 95 percent done. It was done using a template that I did a LOT of custom CSS with. I am having some issues with a couple of CSS items and I

We need help to import bulk products and images, We need help to Import bul...

We need help to Import bulk products and images to prestashop with combinations We need to bulk import the products as well as images with combinations to our prestashop store.

Web development for art website, Web development for company We need to ...

Web development for company We need to build a website for a start-up company doing event planning relating to fashion and arts. In this website we would like to have the follow

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd