473,779 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

4 New Member
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 1483
MMcCarthy
14,534 Recognized Expert Moderator MVP
Moving to HTML / CSS forum
Jul 19 '07 #2
jhardman
3,406 Recognized Expert Specialist
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

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

Similar topics

27
12046
by: Fuli Chang | last post by:
I don't like other people see my html code. Is there a way to hide it? Thanks.
7
2445
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 this article. Any possible information partaining to my requests is very highly appreciated!!! Thank you in advance!!!(I'd be glad to hear from you!!!)
1
1516
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 pages" in Internet options is set to "Every visit to the page". Temporary internet files have been deleted. Did I accidentally changed something in my browser settings?
1
2579
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 HTML code (e.g. <P>,<HL>,<TABLE>,CSS styles,...). Is there such a tool? No, I don't want to open the source code of the webpage through the menu view->source because searching the actual desired source part is sometimes terrible. I want a...
5
1907
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 HTML code I want output in the new window. It would look like <HTML> <HEAD><TITLE>Hello</TITLE> </HEAD> <BODY>
1
1545
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 the asp section is reached, blank is displayed below the html code. I then scaled back and created a Hello World with asp code with still no results. I turned every one on that server, and am running out of ideas.
7
1927
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 on the foreign site. However, the information I got back was nonsensical. I'm guessing the code I get back from the web page is written in that foreign language, but when I -> of the same page, it looks like normal html code. Does anyone know...
0
819
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 textBox. How Browser render this control if there is no html code? How can I get the source code of this control and java script code associate with this control.
2
2401
by: Debbie Stevens | last post by:
What html code do I use to offer viewers of my webpage different text sizes?
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.