473,375 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,375 software developers and data experts.

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

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,



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 1462
14,534 Expert Mod 8TB
Moving to HTML / CSS forum
Jul 19 '07 #2
3,406 Expert 2GB

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.

Jul 19 '07 #3

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

Similar topics

by: Fuli Chang | last post by:
I don't like other people see my html code. Is there a way to hide it? Thanks.
by: Neil Varshneya | last post by:
Hi, I'm looking for an html code list that contains all html codes and their effects. If all of you smart people who read this article know where such a list is please post a follow-up message to...
by: aa | last post by:
When I looked into VIEW-->Source code, the source code shows the result of a javascript code execution, not the javascript code itself as it is supposed to be. "Check for new versions of stored...
by: Wladimir Borsov | last post by:
I want to mark certain text on a web page in InternetExplorer and then copy and paste it into a normal text editor. With the copied text not only the pure text should be transferred but also the...
by: laredotornado | last post by:
Hello, I am searching for a cross-browser way (the most recent browsers are fine) to use javascript to open a new window even though I do not know the file I want to call. I do, however, know the...
by: LetMeDoIt | last post by:
Greetings, I just installed ASP and enabled the Web Server Extensions and still cannot get any ASP code to execute. I added some html code to test and all html code is executed fine, but once...
by: alnoir | last post by:
I'm working on this script that grabs a web page from a foreign site, searches it for specific information, and grabs web pages from links on the original page. Once I had it working, I tried it out...
by: chandan | last post by:
Hi, On Update panel there are two control Button and TextBox.On click on Buttton I make visible true to textBox.TextBox shown on the page but on source code ther is no any html code for this...
by: Debbie Stevens | last post by:
What html code do I use to offer viewers of my webpage different text sizes?
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.