HTML - Html Special Characters Question?
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 Similar TutorialsI'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 Are there special characters like hearts or...whatever that can be done in html. I 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 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? 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 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 Hey sorry to bother you PROS out there but I need a developer's help with this form I want to create. I want to create a text form that will take the text input and relate it to a URL after a submission. So it'd be like this: Please input your ID number: [_______] this becomes {value1} (Submit.) After SUBMIT is clicked, user is directed to http://www.url.com/value1 how do I code an HTML form that will do this? There would be a couple different IDs so the form couldn't just link to the one example url. All I want is one simple text box that the user can type into with that scripting behavior. and then a submit button. (I do have a basic understanding of HTML.) Is this possible to do in HTML? Thanks! Andrew Hi, I try to display my string "as is" in HTML page. I know the solution is escape characters. I know I can use a couple of pairs, like this Code: strResult = ReplaceCharacters(strSource, chr(38), "&") strResult = ReplaceCharacters(strSource, chr(60), "<") strResult = ReplaceCharacters(strSource, chr(62), ">") strResult = ReplaceCharacters(strSource, chr(10), "<br />") strResult = ReplaceCharacters(strSource, chr(34), """) strResult = ReplaceCharacters(strSource, chr(160), " ") which should be pretty easy to understand, just replaces characters with HTML escape characters. How about replacing a tab (chr(11)) with HTML code? Is there any escape character for that? Is there some others that I should add to my code? Hi All, I have a really irritating problem. I have written some code in HTML, and bits of it use the left square bracket, ( [ ). When I paste it into an online web editor, and upload I go to the site and the code does not work properly. I look at the source code and the web editor automatically changed the left square bracket to the HTML escape character equivalent [. Is there something I can put in the code to stop this from happening? I have no control over the web editor and even if I go into the web editor and replace [ with [, upload and refresh the same issue happens! Greetings, If you access the following website http://www.chrisnieratko.com/ in IE / Firefox, you can view the site perfectly. However, with Chrome / Safari, you can't. You just see a bunch of code with ascii question marks. I know it's missing the doctype declaration, but is it the question marks that make it not visible for those browsers? (Chrome / Safari) When the site's pages are opened in notepad, textpad and notepad++, the question marks aren't there... so how do you eliminate them? Does anybody know of another editor that will view / edit these? Does anybody know if that's even the problem? How did they just appear out of nowhere? Most importantly; How would YOU fix this problem in the easiest way possible? (I'm guessing a certain type of text editor with a search function, then search / eliminate them and re-save the file?) Any help is MUCH appreciated! Thank you so much in advance for your time! I would like to prompt for name & email address without using php. Possible and if so, how? hello guys! i have a question for you. i use this code to my blog (this is a media player made by photobucket) Code: <embed width="448" src="http://i171.photobucket.com/player.swf?file=http://vid171.photobucket.com/albums/u285/VBMAN/videaki.flv" height="361" wmode="transparent" type="application/x-shockwave-flash"></embed> and i want make this autoplay when i enter to my blog. Is there any code to help thank u Hello, I run a videogame server along with a website for content management. Right now im trying to find a way to display a page with a box inside it that transitions pdf files located in a file on the server. The file would follow as so http://www.voidcraft.net/other/rand/...3681823623.pdf It would also have 4 buttons at the bottom one with a arrow pointing right that would transition to the next. one the the left which would make it go back to the one before. There would also be a approve and decline. The approve would email the email on the pdf or have a box pop up that asks for the email and then send the pdf to a approved folder. The decline would do the same except send a different email and send to a different folder. I have no idea what so ever how to do this. I am only partially experienced in Html and this just goes over my head. Is there a chance that anyone could help me out here? Code: <hx:outputLinkEx styleClass="outputLinkEx" id="formPdfLink" onclick="return openPDFWord(this, '#{varsearchResults.targetURLForPDF}');" value="#{varsearchResults.pdfURL}"> <h:outputText style="color:red;" styleClass="outputText"styleClass="outputText" id="text7" value="#{varsearchResults.formIdAndEditionDate}" escape="false"> </h:outputText> </hx:outputLinkEx> Here i threw in the tag style = "color:red;" into my dynamic print code in my jsp file. I'm trying to get just these links to change color when clicked. Is there a way to use vlink? I tried style = "vlink:red" which didn't work. Any help on how to make that happen would be greatly appriciated. Regards, Will Hey new to this thread a lot of useful help.. but i have a problem.. I am wondering if i can get some kind of code lets say from youtube of there top music vids... and make it post automatically into my website each time its the top? some kind of rss feed.but a link or video that updates with it? thanks in advance |