HTML - Please Explain Special Characters &?
I am reading this:
Quote: Another important special character you should know about is the & character. If you'd like to have an & in your html content, use the character entity & instead of the & character itself. I don't understand the entire paragraph above, can any give an example of the above or explain in another way please? Similar TutorialsI have a problem with IE6 and 7 not rendering a special character, the double up arrow, "& u A r r ;" <a rel="nofollow" href="#top">⇑</a> content="text/html; charset=iso-8859-1"> I am using the special character as link text to get the user to the top of a very, very long page with a single click. The character renders properly in FF, OP and SA. To my dismay, I just discovered that IE renders it as a box on top of the link underline. Is there any simple way, css, magic, etc., that I can get this character to render properly? The single up arrow renders, but looks anemic, and I don't want to have "Top" appearing at the end of every paragraph. (I don't want the search engines to think I am stuffing the keyword "Top".) Two single up arrows looks strange. I'm afraid to use an image since I could encounter position problems with different browsers. While suggestions for alternative design solutions are welcome, I am really after a technical a way to use the double up arrow in IE. The page: http://www.iaps.com/list-of-internet...ns-199010.html Thanks Hi, I am currently doing some work on our companies website. As part of this we want to add product codes to keywords to improve rankings in Google, however most of our codes include a forward slash (/), e.g. CC/250S. Does anyone know if the forward slash is a valid symbol in the keywords field, or would this make cause problems in the code? Here is my issue: I'm loading an XML that contains special characters (like French characters) and they are not displaying properly. My XML file is encoded in UTF-8. My charset is set to UTF-8 in my HTML document. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> When I take out the charset completely (don't declare character encoding at all), it displays properly?! (Ack!) I want my HTML to validate properly because I'm attempting to write clean XHTML, but this is leaving me a bit confused. Can anyone explain what is happening? Why does it display correctly when I don't specify a charset? I know all the easy ones like hearts and spades, but i want to do the really cool ones like crowns and clouds for myspace. This site has them: http://www.bigbaer.com/sidebars/entities/ but it only has the numbers and i need the words [ex. it has &1321442; instead of &blahh; ]. And myspace only accepts the word codes so can anyone either tell me how to convert the numbers into letters or give me some help on this?! -The actualy characters i want are stars and crowns Are there special characters like hearts or...whatever that can be done in html. I recently transferred my blog from 1and1 to hostgator, and all my apostrophes have been replaced with � How can this be fixed? Hiya, I can add a hidden like this to my form... Code: <input type="hidden" name="height" value="197cm" /> But what if I want to change 197cm to 6' 5" - i.e., so it contains apostrophes and speech marks... Code: <input type="hidden" name="height" value="6' 5"" /> doesn't work due to the extra speech mark, so how do I solve? Thanks, James I'm using Amaya to write some really simple HTML. If I insert any characters in the range 128-255 (e.g. the degree symbol, 176, or non-breaking space, 160) then instead of embedding ' ' or '°' into the document it actually puts in the byte sequence 0 194 0 176 (degree symbol) or 0 194 0 160 (non-breaking space). In hex these sequences look like 00 C2 00 B0 or 00 C2 00 A0. So it appears that 194 (xC2) is some kind of escape character. However I can find no documentation anywhere which mentions that this is valid HTML - can anyone point me at some? Mike Hello everyone ... I must explain what: TABLE, PHP, CSS and DIV is used and what they mean. but I can not find some pages which explain to me what I need, so I would hear about in could help me ... I need: What used (TABLE, PHP, CSS and DIV) to? why use them and nothing else? hi! I've been building a website for my dad's little hobby, and it looks pretty oke on most browsers. Still, 1 of the 50 pc's shows the website wrong. The div's are placed very bad in some internet explorer versions, which causes a big white hole in the site. Can anybody look at my code and tell me what could be the problem ? http://www.rdhpage.com/cavia/ I hope somebody can see the code through firefox The css is here : http://www.rdhpage.com/cavia/stylagoutie.css Thanks for the help I was wondering how to get the titles with a plus to the left of them and then when you click on them it extends with more options (like when you are browsing in windows). Any help is appreciated Code: <?xml version="1.0" ecoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Please explain to me those two lines (I did not include the doctype because I can understand what it's for) in a manner easy to understand. I'm not a beginner, but I didn't do those lines very often back then. What do they mean and how do they affect an HTML file? Thank you in advance! Hello, I put this general question he 1/ I saw a page looking like http://www.site.com/something google toolbar gives no pr indication. 2/ But you can also type http://www.site.com/something/ this time pr is 4. In each case, this brings up the same page. my understanding is case 2/, this is a directory because of the "/"; so there must be an index.html file behind it; case 1/ I do not know what that is, I mean the "something" as I called it does not have a .htm(l) extension, so it is not a page. Can someone please explain: - how this work with or without the "/" - how come one shows pr4 the other pr0; does Google not know what is going on? This is a mixed html, database, and php question. I found this image: http://img.gsmarena.com/vv/pics/sams...eternity-1.jpg And I would like to display it so that the screen part is 240x400 and I would like to run a java app in the screen part. I also want the "?app=whatever" at the end of the url to find the link to "whatever" in a database and use that link for the address to the java app. Finally, I want to set up this database so it contains the name, description, category, link to jad file, and link to jar file of each app. This is my first post here by the way. hi team, just wondering what code i would require to make a text box with a search button next to it and having the following characteristics... * input can be any letter/number (say for eg: 5555) * onclick sends parent window to www.website.com/5555 thus whatever you enter into the box sends you to a website address with the text box entry at the end. this is for an internal webpage at our small business. cheers and any tips appreciated!! THIS PROBLEM IS WITH --IE-- ONLY I have this piece of code that I simplified as much as I could to show a simple example: PHP Code: <table width="50%"> <tr><td colspan="2">short</td></tr> <tr> <td width="128"><img src="" width="110"></td> <td>a<br>a<br>a</td> </tr> </table> <table width="50%"> <tr><td colspan="2">long long long long long long long</td></tr> <tr> <td width="128"><img src="" width="110"></td> <td>a<br>a<br>a</td> </tr> </table> For some reason when long-long-long text is long enough, it pushes a-a-a-a to the right even through one of the cells is limited to 128 pixels.. If I color the backgrounds of the cells in different colors, it is evident that it is the cell pushing, not text-alignment problem Question, why the cell is affected but the upper cell text length even through it is properly col-spanned..? |