HTML - Which Chars To Translate Into Character Entity Codes
Which characters in the standard ASCII set (1-127) should be translated into character entity codes?
These are reserved characters which I understand *must* be translated into character entity codes within the coding of a web page. These are used in tags and so will break mess up the page if not encoded: quote ... " ampersand ... & less than ... < greater than ... > But I'm not sure about these. Which ones ought I to translate into entity codes in order to ensure the page renders OK? 033 ... ! ... exclamation mark 035 ... # ... hash 036 ... $ ... dollar sign 037 ... % ... percent 038 ... & ... ampersand 042 ... * ... asterisk 047 ... / ... forward slash 059 ... ; ... semi-colon 063 ... ? ... question mark 064 ... @ ... AT symbol 091 ... [ ... left/opening bracket 092 ... \ ... back slash 093 ... ] ... right/closing bracket 094 ... ^ ... caret/circumflex 095 ... _ ... underscore 096 ... ` ... backtick 123 ... { ... left/opening brace 124 ... | ... pipe 125 ... } ... right/closing brace 126 ... ~ ... tilde I cannot find a definitive list or advice anywehere. Perhaps it doesnt matter, but it would be useful to know. Rob Wheeler (UK) Similar TutorialsHi everybody, I'm building a website for a project at school and I'm encountering some problems. It's my first website, so excuse me if I ask some stupid questions. Because it's a project for physics, I have to write down a lot of mathematical symbols, for example. pi, log, sin, ph, cos, tan, e, accents, etc. Do you guys know a program or website where I can find the html codes for these symbols? None of the site I found is displaying the codes I need.. Thank you Hey Everyone, I Opened up a website and i need help with some codes if you could please give me the codes i would be so thankful, Thank you 1. "Mailto" Code (When you post a link to your email address and the email window automatically comes up) 2. "Save As" Code (You Post a link to a Song and when you press it the "Save As" Window Pops Up) 3. "Image Link" Code (Post a link in the image) Thank you so much hello.. this is my tumblr blog and I wanted a new theme but when I pasted the theme the background turned pink and I can't seem to find the place on where to add another navigation link.. i think i screwed the codes up when I pasted it on customize. here is the code: http://freetexthost.com/1wu3h2xkfq here is how my blog looks right now itsestebanb111tch.tumblr.com/ please replace 111 to one I only or here is a preview of the theme http://themesbycomemattmebro4.tumblr.com/ also i just want the background to be just white.. thank you vry much hello to everyone. I am at the first steps into webdesign, www.diivino.com is my website which I made just playing around whith DW and flash. A week ago I had a validation check and I found plenty of errors, so far I have around 50 of them still. I don't know if this is the cause of poor traffic,then I tried to fix them myself but I must have done a huge mistake because from a nice colourful website it turned into a whiteone. could u please take a look at it and help me out? thank you very much in advance? thomas Heya all , i was searching on Google about these codes ... but nothing sure. I want to help me about some HTML codes. First: I want to know if exist some HTML code to auto-create a new page. What's that ?! I want to create my personal blog ... and if i'm posting (par example) 10articles maximum , when i'll try to post the 11th article ... it auto-create a second page and auto-add the first article from the first page , into the second. Second: RSS Feed. Third: Comment Box (full option). I mean with the next possibilities: 1) Avatar choose 2) Emoticon choose 3) Nickname 4) E-mail 5) Message. Fourth: Latest Comments Posted and Latest Articles posted. If i post a new article , or someone gives a new comment to one of my posts ... i want it to be conthorized on Meta List. Well ... sorry for disturbing , i need a straight help. Sorry too if i had bad language. Waiting for fast reply . Thank you all Hi, Could anyone say what the exact color codes for every color on this picture are for HTML? Or should I take colors, which look almost the same? Or Do i have to mix colors myself? I don't understand how to get the numerical value of hex codes. The book does not give a good example I think. They give #CC6600 with the instructions Start with the hex number for the red which is CC, take the right most number [C] and write down it's decimal value which is 12x16=192 then add 192+12=204. Now the book gives as an exercise the #b817e0 but the answer they have is [11x16]+8=184 If I follow their instructions above and take the right most number of b8 which will be 8 then shouldn't it be 8x16+8? Ok, i'm trying to make a simple website for a call of duty clan(in norwegian) and i'm having some problems with some of the images. If you click this link: http://weex.tk/info.html there is supposed to be 2 pictures, but they wont show up. The image sources and stuff is ok, but they wont show up. my 2nd question. How can i remove the blue/purple squares around the buttons?? Thanks! I need this shoutbox intergrated into my forum. I have two codes a quick login and shoutbox code. Pm if you need admin panel. Quote: <iframe src="http://www.taghost.net/sme_tag.php?u=MarvinG2" name="taghost" frameborder="0" width="800" height="300" marginwidth="0" marginheight="0"></iframe><form action="member.php" method="post"> <input type="hidden" name="action" value="do_login" /> <span class="smalltext"><strong>Quick Login:</strong></span> <input type="text" class="textbox" name="username" title="Username" value="Username" onfocus="if(this.value == 'Username') { this.value=''; }" onblur="if(this.value=='') { this.value='Username'; }" /> <input type="password" class="textbox" name="password" title="Password" value="Password" onfocus="if(this.value == 'Password') { this.value=''; }" onblur="if(this.value=='') { this.value='Password'; }" /> <!-- start: gobutton --> <input type="submit" class="button" value="Go" /> <!-- end: gobutton --> </form> This might help: http://htmledit.squarefree.com/ Hi I'm new around here and new to html as well so pardon me if I posted this under the wrong section. I currently have a navigation bar using the following codes to swap innerHTML within the page. Code: <span class="navs" onMouseover="this.style.background='#666666'" onMouseout="this.style.background='#000000'" onClick="document.getElementById('main').innerHTML=document.getElementById('About Us').innerHTML"><center>About Us</center></span> And Code: <script> function changeNavigation(id) {document.getElementById('main') .innerHTML=document.getElementById(id).innerHTML} </script> Which gets me to Code: <div id="About Us" style="display:none"> Stuff about IAS </div> I now want to make a menu at the bottom of the page to quickly jump to other pages since the navigation bar is at the top. Therefore I am using the form code as such Code: <form name="selecter" id="selecter" action=""> <select name="select1" id="select1" size="1"> <option value="none"> Quick Jump <option onClick="document.getElementById('main').innerHTML=document.getElementById('About Us').innerHTML"> About Us</option> </select> </form> However, when I select the option "About Us" in the menu, nothing happens. Could someone explain to me why nothing happens and perhaps provide a solution? Thanks in advance. I am working on a webpage that is more than likely going to need to allow downloadable content. I am not quite sure how to go about this. Most likely its going to be video files downloaded and i want to find the most secure way to go about this. I am really in need of this info as i am on a deadline. Please Help iam a ha of a league for my league and i am trying to figure out the html codes i would love to put up the rules for the tds for the pages but i have no idea how. uhh hi!.. i'm very new here and i'm relly hoping that you guys will help me.. My popups work great on firefox.. but when i try it on explorer it won't work. i really need to fix it coz all my friends' browsers are explorer... site is freewebs.com/bamc05 it's on the members page... Thanks! I found this thread: HTML Scroll box which gives this HTML for a scroll box: <div style="overflow:auto; height:300px; width:300px"> <table cellpadding="0" cellspacing="0" style="width:250px;"> <tr> <td> stuff here</td> </tr> </table> </div> and tested it at this blog post: Testing scroll box 1 The code gives a scroll box alright but I am looking for a scroll box to put codes and for visitors to click inside the scroll box, press ctrl+A to highlight all the codes inside the scroll box. But when I click inside the box, the whole page get highlighted instead. Is it possible to surround the scroll box HTML with for example something like <p></p> and for the effect above? I will be following up with another script for scroll box which I got from viewing page source. Hi All, I was wondering of anyone knows how to find out the html colour code of text from a particular website. For example if I see text on a site and I like the colour, I want to be able to find out how to match that colour with a html code. Thankyou in advance Hi! I'd appreciate if someone could help me come up with a valid code to: 1) Create a table that will present a choice of thumbnail pics that you can click on that will present the image in a larger box above the choices. Crappy example: http://s609.photobucket.com/albums/t...icturehaha.gif 2)How to make this page scroll.: http://carsonvalleypowerwash.com Thank You! helloooo. can i get some codes/javascripts helps on when you mouseover the link or the image ( or click on it ) then it provides you the html codes in different window, small overlibs, or something else that youre be able to select all and copy and paste the html codes from there to your pages or whatever. ive been researching on this too much and still, no luck. or is it just me? cuz that kind of codes is not available? but any kind of codes that is a little related to what im looking for can help too! please help and thank you! much appreciated! so I am building a website, and I decided to test out a code before doing any major programming. Of course, it didn't work. I basically need a square covered in thumbnails of images, but then when the mouse is moved over a thumbnail the full-size image will show in that square (overtop of the thumbnails) until the mouse is moved off of the thumb. right now, however, it will not work on mouseover, but needs to be clicked on and only shows while the mouse button is held. I am relatively new to DIV codes other than their use for alignment, but I think it might have something to do with layering? I got the code from he http://www.technorealm.co.uk/scripts...rshowtext.html and altered it to include my content, but as I was looking through the code I noticed there was no z-index within the DIV tag. Also, I know quite a bit about HTML but not very much about CSS, JavaScript, etc. Below is the code for the entire page, which you can view at this address: http://www.freewebs.com/tintedlens/ Any help would be appreciated! Thanks! <html> <head> <title>Photos.</title> <script language="Javascript"> <!-- function toggleDiv(id,flagit) { if (flagit=="1"){ if (document.layers) document.layers[''+id+''].visibility = "show" else if (document.all) document.all[''+id+''].style.visibility = "visible" else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible" } else if (flagit=="0"){ if (document.layers) document.layers[''+id+''].visibility = "hide" else if (document.all) document.all[''+id+''].style.visibility = "hidden" else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden" } } //--> </script> <style type="text/css">#div1, #div2, #div3 {position:absolute; top: 91; right: 91; visibility:hidden}</style> </head> <body bgcolor="FFFFFF"> <div id="link1" style="position: absolute; top: 100; right: 100;"> <a href="#" onMouseOver="toggleDiv('div1',1)" onMouseOut="toggleDiv('div1',0)"><img border="0" src="link1.jpg"/></a> </div> <div id="link2" style="position: absolute; top: 190; right: 100;"> <a href="#" onMouseOver="toggleDiv('div2',1)" onMouseOut="toggleDiv('div2',0)"><img border="0" src="link2.jpg"/></a> </div> <div id="link3" style="position: absolute; top: 280; right: 100;"> <a href="#" onMouseOver="toggleDiv('div3',1)" onMouseOut="toggleDiv('div3',0)"><img border="0" src="link3.jpg"/></a> </div> <div id="div1"><img border="0" src="image1.jpg"/></div> <div id="div2"><img border="0" src="image2.jpg"/></div> <div id="div3"><img border="0" src="image3.jpg"/></div> </body> </html> Hey there, I registered in hope of getting some help I'm creating this bulletin board in our intranet and I really need to add couple of buttons which would help our users with posting their stuff. The board obviously understands HTML and this is what I want to do: I need to have a button that adds html tags into the textfield when clicked. For example if I wanted to add <br> in the post, I just would have to press a button to do it. Hope you understand what I mean and hope you can help me, I'm such a newbie when it comes to this Cheers! |