Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-2006, 10:10 AM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Rep Power: 12
dirkfirst is on a distinguished road
Default How can I write HTML?

How do I write HTML such as <b>test</b>????? Not just a bold test but showing the actual less than and greater than code.
__________________
DirkFirst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #2 (permalink)  
Old 05-22-2006, 02:36 PM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Rep Power: 11
brackett is on a distinguished road
Default HTML Entities

You have to escape them with HTML entities. For instance, less than is &lt; and greater than is &gt; So you'd write:
&lt;b&gt;test&lt;b&gt;

If you do a view source on this page, you should see that your actual comment is using the entities.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 05-22-2006, 02:40 PM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Rep Power: 12
dirkfirst is on a distinguished road
Default

wow, thanks! I didn't realize that it was so easy.

I never thought to view the source on this page either.
__________________
DirkFirst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 06-18-2006, 01:14 AM
cpvr cpvr is offline
Newbie
 
Join Date: Jun 2006
Posts: 24
Rep Power: 10
cpvr is on a distinguished road
Default

Quote:
Originally Posted by brackett
You have to escape them with HTML entities. For instance, less than is &lt; and greater than is &gt; So you'd write:
&lt;b&gt;test&lt;b&gt;

If you do a view source on this page, you should see that your actual comment is using the entities.
Why's that? Can't you still use the regular html tags?
__________________
Web Game Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 06-19-2006, 06:09 PM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Rep Power: 12
dirkfirst is on a distinguished road
Default

Yeah, you can use regular HTML tags but I need to know how to actually write the < and > so they didn't show up as HTML.
__________________
DirkFirst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #6 (permalink)  
Old 06-22-2006, 10:11 PM
the-chad the-chad is offline
Newbie
 
Join Date: Jun 2006
Posts: 23
Rep Power: 9
the-chad is on a distinguished road
Default

&gt; for >
&lt; for <
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old 07-04-2006, 03:10 PM
DevilsCharm's Avatar   
DevilsCharm DevilsCharm is offline
Programming God
 
Join Date: Jul 2006
Posts: 887
Rep Power: 14
DevilsCharm is on a distinguished road
Default

Ahhh, I get it, gt = greater than, lt = less than. I've always wondered how one would do that, because it would just convert into whatever the HTML code was. Very interesting.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing HTML from a String using ColdFusion roger ASP, ASP.NET and Coldfusion 3 11-11-2008 03:19 PM
Do you write html in notepad? kisna HTML Programming 318 08-25-2008 08:54 PM
About HTML Onur Tutorials 0 08-28-2007 07:13 PM
HTML Introduction clookid Tutorials 5 01-08-2007 10:43 PM
What is HTML, DHTML and XHTML? Lop HTML Programming 5 08-09-2006 12:00 PM


All times are GMT -5. The time now is 06:51 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads