469,913 Members | 2,443 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

What HTML code is MOST GENERAL (i.e. independant of platform and browser)

4
1. I am looking which HTML CODE is AS GENERAL AS POSSIBLE (i.e. independant of platform and browser).

2. To be more explicit :

2.a) I am writing HTML code which I would like to run on ALL possible platforms (PC, Mac, UNIX, ) and browsers (Safari, IE, Netscape, ) or at least as many as possible.

2.b) I use as well hyphens (in names with hyphens for hyphenation, etc.) as en-dashes - for a comment within a text like this one - and also em-dashes for dialogues like the next one :

- Am i more clear this time?
- Yes, thank you for this exhaustive exlanations.

2.c) So I am wondering which of the 3 codes (see #3) is most suited to run on AS MANY platforms and browsers. I.e. to have a maximum chance my code will display correctly whatever the machine or browser used.

3. in case of a en-dash I found 3 possibilities on the internet :
3.a) & # 8 2 1 1 ;
3.b) & # 1 5 0 ;
3.c) & n d a s h ;
Which one sould I use?

Hoping to be udnerstood,

sincerely,

Sono

PS : of course the en-dash is only an example; My future website is in french so there are many, many codes to replace all accents, diphtongs etc.
Jul 19 '07 #1
2 1345
MMcCarthy
14,534 Expert Mod 8TB
Moving to HTML / CSS forum
Jul 19 '07 #2
jhardman
3,406 Expert 2GB
Sono,

As long as the special character code is written correctly they should all be universal (3a, 3b, and 3c). The big problem in the past which still haunts some out-dated browsers is that incorrectly spelled character codes MIGHT be interpreted (for example "&quot" without the closing semicolon is still interpreted in some browsers). I don't know of another case where there is a problem.

Jared
Jul 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

27 posts views Thread by Fuli Chang | last post: by
7 posts views Thread by Neil Varshneya | last post: by
5 posts views Thread by laredotornado | last post: by
7 posts views Thread by alnoir | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.