Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Computers
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
 
Old 07-21-2011, 12:42 PM
 
Location: West Texas
2,449 posts, read 5,949,709 times
Reputation: 3125

Advertisements

I'm trying to get the less than sign (<) to show up in my code. But when I look at the page in the browser version, it's not showing up.

I have tried &lt;, I've tried <, I've tried &#x3c; and none display in my browser.

I'm coding through DreamWeaver.

Is there any other code I can use to make the less than symbol appear? I can make the greater than symbol appear just fine. But less than just doesn't display.

Thanks!
Reply With Quote Quick reply to this message

 
Old 07-21-2011, 01:05 PM
 
Location: Matthews, NC
14,688 posts, read 26,615,476 times
Reputation: 14409
I don't know much about this topic but could it be that the code for that symbol has changed? According to this:

List of XML and HTML character entity references - Wikipedia, the free encyclopedia

the code is &le in HTML 4.0
Reply With Quote Quick reply to this message
 
Old 07-21-2011, 01:12 PM
 
8,415 posts, read 7,412,065 times
Reputation: 8757
Strange that the greater than symbol appears but the less than symbol does not.

Can you show us the snippet of HTML where you are trying to place the < symbol?
Reply With Quote Quick reply to this message
 
Old 07-21-2011, 05:08 PM
 
28,803 posts, read 47,694,717 times
Reputation: 37905
Quote:
Originally Posted by Rathagos View Post
I'm trying to get the less than sign (<) to show up in my code. But when I look at the page in the browser version, it's not showing up.

I have tried &lt;, I've tried <, I've tried &#x3c; and none display in my browser.

I'm coding through DreamWeaver.

Is there any other code I can use to make the less than symbol appear? I can make the greater than symbol appear just fine. But less than just doesn't display.

Thanks!
I right-clicked the page and clicked on "View Page Source". I then found your sentence that I highlighted above. Here's what the page source looks like:

I'm trying to get the less than sign ( & l t ; ) to show up in my code.

I put spaces in so the code wouldn't put in the <. The interesting part is that if I remove the spaces the last two characters show as a winking smiley face. >>

So it's working here. The question is why it isn't working for you, and without more info I can't help. You might try posting your code here.
Reply With Quote Quick reply to this message
 
Old 07-21-2011, 06:31 PM
 
2,182 posts, read 5,437,932 times
Reputation: 1214
If you're using dreamweaver, add the < sign in the "design" view, not code view.
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:


Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Computers
Similar Threads

All times are GMT -6. The time now is 02:14 AM.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top