Hey guys I just added a new section to my site could I get some improvement ideas. for it thanks http://www.bmcoll.com/pagetest
Went to the page, submitted some code which had round bold bullets and it sent back Latin accented characters. I would prefer Number Displayed Entites. It did find the errors I injected into the code and sent back the proper code. My I suggest adding abit of code to click which copies/highlights the code. Code: [B][SIZE=1]<!DOCTYPE[/SIZE][/B][SIZE=1] html PUBLIC [B]"-//W3C//DTD HTML 4.01 Transitional//EN"[/B] [B]"[/B][/SIZE][U][SIZE=1][COLOR=#0000f0][SIZE=1][COLOR=#0000f0]http://www.w3.org/TR/html4/loose.dtd[/COLOR][/SIZE][/COLOR][/SIZE][/U][B][SIZE=1]">[/SIZE][/B] [SIZE=1][B]<html>[/B][/SIZE] [SIZE=1][B]<head>[/B][/SIZE] [SIZE=1][B]<title>[/B]Copy Code[B]</title>[/B][/SIZE] [SIZE=1][B]<style[/B] type=[B]"text/css">[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]body[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1],[/SIZE][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]td[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1] {[/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]font-family[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1]arial[B];[/B] [/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]font-size[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:8[/SIZE][/B][SIZE=1]pt[B];[/B] [/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]color[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:#000000;}[/SIZE][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000].page_title[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1] {[/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]font-weight[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1]bold[B];[/B] [/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]font-size[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:12[/SIZE][/B][SIZE=1]pt[B];}</style>[/B][/SIZE] [SIZE=1][B]<script[/B] type=[B]"text/javascript">[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]function[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1] [B]copysnip[/B][/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]()[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1] {[/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]if[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]([/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]document[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000].[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]all[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]{[/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]var[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1] [B]el[/B] [/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1] [B]document[/B][/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000].[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]getElementById[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]([/COLOR][/SIZE][/COLOR][/SIZE][I][SIZE=1]'snip'[/SIZE][/I][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]);[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]el[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000].[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]focus[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]();[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]el[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000].[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]select[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]();[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]therange[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]=[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]el[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000].[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]createTextRange[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]();[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]therange[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000].[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]execCommand[/SIZE][/B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]([/COLOR][/SIZE][/COLOR][/SIZE][I][SIZE=1]"Copy"[/SIZE][/I][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]);[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]}}[B]</script>[/B][/SIZE] [SIZE=1][B]</head>[/B][/SIZE] [SIZE=1][B]<body[/B] BGCOLOR=[B]"#ffffff"[/B] TEXT=[B]"#000000">[/B][/SIZE] [SIZE=1][B]<div[/B] align=[B]"center"[/B] [B]>[/B][/SIZE] [SIZE=1][B]<div[/B] align=[B]"center"[/B] class=[B]"page_title">[/B]Valadated Code for your Web Page[B]</div><br/>[/B][/SIZE] [SIZE=1][B]<div[/B] style=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]width[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:600[/SIZE][/B][SIZE=1]px[B];[/B][/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]align[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]:[/SIZE][/B][SIZE=1]left[B];[/B] [/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]border[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1] solid [B]#000000;[/B] [/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]border-width[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:1[/SIZE][/B][SIZE=1]px[B];[/B] [/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]padding[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:5[/SIZE][/B][SIZE=1]px[B];"[/B] align=[B]"left">[/B][/SIZE] [SIZE=1][B]<h4>[/B]Here is your cleaned html code[B]</h4>[/B][/SIZE] [SIZE=1][B]<ul>[/B][/SIZE] [SIZE=1][B]<li>[/B]Edit your HTML file, copying in the script code below [B]<[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]a[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1] href=[B]"javascript:"[/B] style=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]color[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1]blue[B];"[/B] onmouseover=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]return[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1][COLOR=#ff00f0][SIZE=1][COLOR=#ff00f0]1[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]"[/SIZE][/B][SIZE=1] onclick=[B]"copysnip[/B][/SIZE][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]();;[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]"[/SIZE][/B][SIZE=1] title=[B]"">[/B][Copy Script Code][B]</[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]a[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]>[/SIZE][/B] [SIZE=1][B]<br[/B] [B]/><br[/B] [B]/>[/B][/SIZE] [SIZE=1][B]<textarea[/B] style=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]width[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:500[/SIZE][/B][SIZE=1]px[B];[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]height[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:220[/SIZE][/B][SIZE=1]px[B];"[/B] id=[B]"snip"[/B] rows=[B]"10"[/B] cols=[B]"10"[/B] name=[B]"snip">[/B][/SIZE][B][SIZE=1][COLOR=#0000f0][SIZE=1][COLOR=#0000f0]<?xml[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1] version=[B]"1.0"[/B] encoding=[B]"windows-1252"[/B][/SIZE][B][SIZE=1][COLOR=#0000f0][SIZE=1][COLOR=#0000f0]?>[/COLOR][/SIZE][/COLOR][/SIZE][/B] [SIZE=1][B]<!DOCTYPE[/B] html PUBLIC [B]"-//W3C//DTD XHTML 1.1//EN"[/B][/SIZE] [SIZE=1][B]"[/B][/SIZE][U][SIZE=1][COLOR=#0000f0][SIZE=1][COLOR=#0000f0]http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd[/COLOR][/SIZE][/COLOR][/SIZE][/U][B][SIZE=1]">[/SIZE][/B] [SIZE=1][B]<html[/B] xmlns=[B]"[/B][/SIZE][U][SIZE=1][COLOR=#0000f0][SIZE=1][COLOR=#0000f0]http://www.w3.org/1999/xhtml[/COLOR][/SIZE][/COLOR][/SIZE][/U][B][SIZE=1]">[/SIZE][/B] [I][SIZE=1][COLOR=#ff0000][SIZE=1][COLOR=#ff0000]<!-- Created on: 9/18/2009 -->[/COLOR][/SIZE][/COLOR][/SIZE][/I] [SIZE=1][B]<head>[/B][/SIZE] [SIZE=1][B]<meta[/B] http-equiv=[B]"Content-Type"[/B] content=[B]"text/html; charset=windows-1252"[/B] [B]/>[/B][/SIZE] [SIZE=1][B]<title></title>[/B][/SIZE] [SIZE=1][B]</head>[/B][/SIZE] [SIZE=1][B]<body>[/B][/SIZE] [SIZE=1][B]<p>[/B]your text here[B]</p>[/B][/SIZE] [SIZE=1][B]</body>[/B][/SIZE] [SIZE=1][B]</html>[/B][/SIZE] [SIZE=1][B]</textarea></li>[/B][/SIZE] [SIZE=1][B]<br[/B] [B]/><br[/B] [B]/>[/B][/SIZE] [SIZE=1][B]<li>[/B]Click [B]<[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]a[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1] href=[B]"[/B][/SIZE][U][SIZE=1][COLOR=#0000f0][SIZE=1][COLOR=#0000f0]http://#[/COLOR][/SIZE][/COLOR][/SIZE][/U][B][SIZE=1]"[/SIZE][/B][SIZE=1] style=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]color[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1]blue[B];"[/B] target=[B]"bmcoll"[/B] [B]>[/B]here[B]</[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]a[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]>[/SIZE][/B][SIZE=1] for more detailed information [B]</li>[/B][/SIZE] [SIZE=1][B]</ul>[/B][/SIZE] [SIZE=1][B]<div[/B] style=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]text-align[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1] center[B]">[/B]Validate and repair HTML Code bmcoll.com[B]<br><br>[/B] [/SIZE] [SIZE=1][B]<[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]a[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1] href=[B]"javascript:history.back()"[/B] style=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]color[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]:[/SIZE][/B][SIZE=1]blue[B];"[/B] onmouseover=[B]"[/B][/SIZE][B][SIZE=1][COLOR=#008000][SIZE=1][COLOR=#008000]return[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=1][COLOR=#ff00f0][SIZE=1][COLOR=#ff00f0]1[/COLOR][/SIZE][/COLOR][/SIZE][B][SIZE=1]"[/SIZE][/B][SIZE=1] title=[B]""><b>[/B][Back to Home Page][B]</b></[/B][/SIZE][B][SIZE=1][COLOR=#800000][SIZE=1][COLOR=#800000]a[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=1]></div>[/SIZE][/B] [SIZE=1][B]</div>[/B][/SIZE] [SIZE=1][B]</div>[/B][/SIZE] [SIZE=1][B]</body>[/B][/SIZE] [SIZE=1][B]</html>[/B][/SIZE]
I am trying ti find out how to number the lines of code no luck so far. But I will add a javascript to hightlight and copy
If you me by the code which is produced - it does come out numbered, but if I remember right it didn't coorespond to my original code, which made it harder for me to check both files. You might want to explain more or give a warning about the Document Declaration Type as some people might be coding for some thing different. You know the nature of people...
I added the auto highlight you just clink in the textarea and tell what standard the code is repaired to. Thanks Dave for as always the good input. I am going to do a post as a tutorial with the code to create a script like this one.
Ok Ishkey I fried my brain but I finally got the script to output a copy of the html that was submitted in a numbered list. http://www.bmcoll.com/pagetest. Do you think I should package this as a script that can be downloaded for others to use? The only other problem is the copy to clipboard function wont work in google chrome and my javascript skills are not up to the task of fixing that.
ok guys I added one more thing. you can now enter a url in the form box and get the repaired html or paste your html into a form and get it also the box with your original html is now numbered for ease in seeing the errors. Of course I know you all write perfect code so there wont be any errors. http://www.bmcoll.com/pagetest
My Opinion Maybe you can put a couple of the link on top at the botton just to give the links on top some space maybe these links example: contact ,terms, privacy and a couple others, Great site!
Thanks always love positive feedback. I am working on a google pagerank tool but it may take some time to figure out the code. I made the header image a little smaller and floated the google ad to the right. See if that looks better please.
I tried the code correction can't believe the errors (or warnings) I got, but the script was correct good job - don't package it yet, leave it as an online tool (you may want to package it later with other tools) - Very similar to HTML Tidy (the online version) - don't know which I like better - If you put together an HTML code checker, CSS code checker, and a script corrector, along with a web page analyzer, you would have a tremendous package (all online of course). - hope this helps falcon
I added a meta tag builder as well I am rebuilding it though it was ritten by someone else and I think I can improve it with my own code. When I get the tools all there I will start working hard on the seo for them Thanks for the positive feedback Brian