HTML - Code Cleaner Program?
Hi gang,
About 4 years ago I used the trial version of Homesite to clean a freinds code. Now 4 years later I have my own site (http:www.pjsoaps.com) and I have 8 b'zillion duplicate tags and junk. Homesite won't let me run the trial again so I downloaded a trial version of "HTML Code Cleaner" and tried it on some of my worst pages, unfortunately what it does is turn my easily read stepped code into ONESINGLELINEOFCODE. ugh I'm looking for a free, trial or inexpensive code cleaner. I just LOVED Homesite but I simply can't afford it at the moment. Any suggestions? Thank you in advance, pjsoaps www.pjsoaps.com Similar TutorialsI just started writing code, and currently use notepad++. I then use XAMPP to see my code in action. Any better free programs to do all this? Super new to this, and these are the ways my teacher gave. thanks! _ |_| Diagnostic _ |_| System Restore _ |_| PC Tune Diagnostic ~ To find whats wrong System Restore ~ Restores software to factory defaults PC Tune ~ Performance optimizer -------------------------- My goal is that when a technician checks a box ( one or more of the following above ) an automatic message is added to a separate page that can be printed out. So to say, if I where to check 'diagnostic' and 'pc tune' my internet browser will open a second page with the descriptions of the two services. The more boxes you click the more paragraphs that get added to the second page. For a designer/programmer, which program is required or best to have? The book I am studying from is using Adobe Photoshop Elements 8 and I keep seeing "Dreamweaver" mentioned on the net so do I have to get both softwares to prepare for any jobs or only one or is there another? Which software or softwares would you guys recommend I get for the future to deal with these digital files processing please? Hello guys, I am new to this forum, yesterday i started learning html and i am writing sample codes for different things and i got an error when i tried to hyper linking to the link on the same page. i tried to create 5 hypers links within the page and wrote the syntax and all correctly ..but when i tried to click the first one and the second one its working but when i tried with the 3rd, 4th and 5th hyper links its not getting linked to the correct place... http://personalpage.webng.com/lists.html .this is the webpage i wrote... when i click the first two they are linked to the correct place but when i tried the others they are not getting linked properly...... can anyone see the program and tell me whats the solution?\ thankyou Hey all! I have just started programming a website in html. I took some html 4 classes about10 years ago - I know that's like a lifetime ago, but anyway, it seems that I'm still able to use a bunch of the stuff I learned back then, but I get some errors when running the validator on the site. I have been able to do most of what I want on the site with a combination of what I learned back then and with some awesome help from this support forum. It seems that some of the errors I'm getting is due to newer code that I have been getting from people who have been very kind to help me out. Not due to their code, but probably because I set my doctype up to be: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> The people who have been helping out are of course using newer code, etc. I realize that I need to move up to today's way of programming, but the question is: what's the best way to do this? Back when I took the html courses, I learned to program with notepad. I did an intranet back then in frontpage, but from what I heard, that code was pretty messy and didn't always show right in all browsers. The site I'm building now needs to work in at least all major browsers as I need to earn a living from it. What's the recommeded software, html version, etc. these days? I have a copy of the latest dreamweaver, but does that write messy code similar to what frontpage did back then? How about some free software? What html version is recommended etc., keeping in mind that I need the site to be a reliable as possible and not that flashy, and that I am pretty green at this and not a full time programmer. There will be some rollover buttons, tables, etc., on the site, but that's really it, and then some forms and a link to a wordpress blog I will be putting together. I hope there are someone out there with a good recommendation. Also, is there a way to get the html 4 to work with never code such as javascripts etc. I can upload a zip with the code and images for the site if anyone has time to look at, and helping me figure out how to solve some of the validation errors I'm getting? The site in not uploaded yet but on my harddrive. Thank you all and have a great weekend. Johanm Once again I have no idea where this post should go. Please move me and accept my apology. Here's the deal: I want to help out someone who has limited programing skills. Also, I don't want to give them access to my server. I am looking for a free program where she could add javascript and html code to the site for affiliate links and banners. I need her to work completely from the back end of the program. Plus, I don't want to baby sit her site either, just set it up and let her have at it. Would a blogging program be able to do this? I don't blog, so I'm not sure what's best. She's been pushing Cash Crate on a freewebs site and actually making money! So I know she can do better with better affiliates if she just had a chance. I am not sure if this is the right place to ask this question, so I apologize in advance. Are there any easy to use (and free) Perl script programs (would it be a program or just script?) that I could use on a website to integrate a keyword search program so that users can search specified text and HTML documents? Thanks in advance for any suggestions and help. I was wonder what browser or editing program that I can use to see my webpage that would show the map coords as I move my mouse around the webpage please? Thank You in Advance. hey, im currently setting up 4 pc's for a local kindergarten/nursery, in which the computers are locked down in a kiosk mode, with a web page navigation, what i need is for the links to open the games that are installed on the PC, but as its for kids age 3 - 4 etc i dont want the usual prompt of "open or save file as". the pc's will not be on the internet at all, all the files are local, so is there either anyway to turn of the prompt via a registry hack ? or can u suggest a way for me to open the programs either through html, javascript or would a flash or director link or something else work better? ive searched but i cant find any way of doing it, or bypassing a security feature, like i say the machines are locked down and not on the net, so i can relax all security measures. thanks Barrie `Hello I have this problem that i have a list of things, that is very very long. There is about 5000 entries and i need to make a table where the user can select to sort by something. It looks like this Sort By Car Sort By Tires Sort By Make Sort By Year So how do i make it, so that when the user clicks sort by make, it will sort by it? Do i do it in HTML or what? Are there programs to do this? Thanks For Help! Turha Ok I'm still really new to HTML with no bad habits & would like to use a program that is really easy to use & geared toward function-ability. I've been using notepad for my HTML I would prefer to steer away from DreamWeaver as I dont plan on using a WYSIWYG So what are my other options for great programs to write HTML in? Thanks Like, HTML Quick Edit Bar 1.3 http://www.shareup.com/HTML_Quick_Ed...oad-28773.html ??? I would like a client of mine to easily update html content, but I don't have a clue where I would get such a software, free.. Html quick edit bar, has what I need, but I don't think it actually updates for some reason... Can anyone help with this? Thanks a lot guys... Hello, I got a program, but I am unable to execute it, the addition of two variables is not executing in the output, I am unable to find the mistake in the program, plz any one find it and let me know the mistake.. Here is the Program ***************************** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <script type="text/javascript"> var firstnum,secondnum,num1,num2,sum; fistnum = window.prompt("enter the first number","0"); secondnum = window.prompt("enter the second number","0"); num1 = parseint( firstnum ); num2 = parseint( secondnum ); sum = num1 + num2; document.writeln("<h1> the sum is "+ sum + "</h1>"); </script> <body> <p> Click Refresh (or Reload) to Run the script once again </p> <!-- <input name="submit" type="button" onclick="document.writeln();"--> </body> </html> *********************** yes i was wondering if there is a way that i could make my program when the new option is selected from the drop down menu automatically make a new folder in a certain folder on my computer. is there any way to do that. Hi. I am creating web service. But the problem must be somewhere on HTML page. When I submit form, the data send by web service (java program) to the page does not show up. If I do not submit form, then the program works; results appear on the page. The form is submitted invoking pushSubmit() javascript function. This method is invoked from setMessage() javascript function. I submit form cause in this way I discover what value is selected on drop down list. This is done using JSP code. Can I do it somehow else. Next action using retrieved data is to invoke Java class on server side. What might be the problem? This is the code: Code: <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" pageEncoding="UTF-8" %> <%@ page import="mart.ebay.database.ReadsCategoryTable" %> <jsp:useBean id="categoryList" class="mart.ebay.database.ReadsCategoryTable" scope="request" /> <jsp:setProperty name="categoryList" property="*"/> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>eMart</title> </head> <body class="create"> <!-- shows items from that country by default --> <% // String strSiteId = "EBAY-GB"; // Object categoryList = session.getAttribute("items"); // receives result from servlet // out.println(categoryList + " result ++++++++++++++++++++++++++++"); // strSiteId = (String)session.getAttribute("siteId"); // strSiteId =(strSiteId == null)? "": strSiteId; // out.println(strSiteId+ " strSiteId +++++++++++++++"); %> <% String result= ""; String strSiteId = request.getParameter("siteId"); strSiteId =(strSiteId == null)? "": strSiteId; if(strSiteId.equals("")) { out.println(strSiteId+ " global ID is empty"); result= categoryList.readTable("EBAY-GB"); } else { out.println(strSiteId+ " this is global ID"); result= categoryList.readTable(strSiteId); } %> <div id="container"> <div id="header"> <h1>Header</h1> <!-- end of header--> </div> <div id="mainContent"> <h1>Main content</h1> <!-- onsubmit="run()" --> <form name="form" id="form1" action="index.jsp" method="post" > <table id="input" border="0" cellpadding="0" cellspacing="5"> <tr> <th align="left">Looking for</th> <th align="left">Location</th> <th align="left">Category</th> </tr> <tr> <td align="left"><label><input style="width: 230px" type="text" name="message" id="message" /></label> </td> <td> <select name="siteId" id="siteId" > <option <%=(strSiteId.equals("EBAY-AT"))?"selected":""%> value="EBAY-AT">Austria</option> <option <%=(strSiteId.equals("EBAY-AU"))?"selected":""%> value="EBAY-AU">Australia</option> <option <%=(strSiteId.equals("EBAY-CH"))?"selected":""%> value="EBAY-CH">Switzerland</option> <option <%=(strSiteId.equals("EBAY-DE"))?"selected":""%> value="EBAY-DE" >Germany</option> <option <%=(strSiteId.equals("EBAY-ES"))?"selected":""%> value="EBAY-ES">Spain</option> <option <%=(strSiteId.equals("EBAY-FR"))?"selected":""%> value="EBAY-FR">France</option> <option <%=(strSiteId.equals("EBAY-FRBE"))?"selected":""%> value="EBAY-FRBE">Belgium (French)</option> <option <%=(strSiteId.equals("EBAY-NLBE"))?"selected":""%> value="EBAY-NLBE">Belgium (Dutch)</option> <option <%=(strSiteId.equals("EBAY-FRCA"))?"selected":""%> value="EBAY-FRCA">Canada (French)</option> <option <%=(strSiteId.equals("EBAY-ENCA"))?"selected":""%> value="EBAY-ENCA" onclick="pushSubmit()" >Canada (English)</option> <option <%=(strSiteId.equals("EBAY-GB"))?"selected":""%> value="EBAY-GB" selected="true">United Kingdom</option> <!-- <option value="EBAY-HK">Hong Kong</option> --> <option <%=(strSiteId.equals("EBAY-IE"))?"selected":""%> value="EBAY-IE" onclick="pushSubmit()" >Ireland</option> <option <%=(strSiteId.equals("EBAY-IN"))?"selected":""%> value="EBAY-IN">India</option> <option <%=(strSiteId.equals("EBAY-IT"))?"selected":""%> value="EBAY-IT">Italy</option> <!-- <option value="EBAY-MOTOR">Motors</option> --> <option <%=(strSiteId.equals("EBAY-NL"))?"selected":""%> value="EBAY-NL">Netherlands</option> <option <%=(strSiteId.equals("EBAY-NLBE"))?"selected":""%> value="EBAY-NLBE">Belgium (Dutch)</option> <option <%=(strSiteId.equals("EBAY-PH"))?"selected":""%> value="EBAY-PH">Philippines</option> <option <%=(strSiteId.equals("EBAY-PL"))?"selected":""%> value="EBAY-PL">Poland</option> <option <%=(strSiteId.equals("EBAY-SG"))?"selected":""%> value="EBAY-SG">Singapore</option> <option <%=(strSiteId.equals("EBAY-SE"))?"selected":""%> value="EBAY-SE">Sweden</option> <option <%=(strSiteId.equals("EBAY-MY"))?"selected":""%> value="EBAY-MY">Malaysia</option> <option <%=(strSiteId.equals("EBAY-US"))?"selected":""%> value="EBAY-US">United States</option> </select> </td> <td> <select name="Category" > <option value="100" ><%= result%></option> </select> </td> <td> <label> <input type="button" value="Start" onclick="run()"/></label></td> </tr> </table> </form> </div> <div id="footer"> <p>Footer</p> </div> <!-- the end of container--></div> <script type="text/javascript"> function getXmlHttpRequest() { try { // Firefox, Opera 8.0+, Safari return new XMLHttpRequest(); } catch (e) { // Internet Explorer try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Your browser does not support AJAX!"); return null; } } } } function setLocation(location) { strSiteId = location; var xmlHttp = getXmlHttpRequest(); xmlHttp.open("GET","app/messages/location/" + location,true); xmlHttp.send(null); } function setCategory(category) { var xmlHttp = getXmlHttpRequest(); xmlHttp.open("GET","app/messages/category/" + category, true); xmlHttp.send(null); } function setMessage(index) { var xmlHttp = getXmlHttpRequest(); //alert(index) xmlHttp.onreadystatechange=function() { if(xmlHttp.readyState==4) { // document.write(xmlHttp.responseText.indexOf("<body>")); if(xmlHttp.responseText.indexOf("<body>") != -1) { s = xmlHttp.responseText.substring(xmlHttp.responseText.indexOf("<body>") + 6, xmlHttp.responseText.indexOf("</body>")) document.getElementById("output").innerHTML=s; } else { document.getElementById("output").innerHTML=xmlHttp.responseText; } pushSubmit() // submits form } } xmlHttp.open("GET","app/messages/" + index,true); xmlHttp.send(null); } function run(){ setCategory(document.form1.Category.value) setLocation(document.form1.siteId.value) setMessage(document.form1.message.value) alert(document.form1.Category.value+" "+document.form1.siteId.value+ " "+document.form1.message.value) } function pushSubmit() { document.getElementById('form1').submit(); } </script> <% // sessionObj = null; //arlItems = null; //session.removeAttribute("items"); //session.removeAttribute("siteId"); %> <h3>result</h3> <div id="output" style="border: 1px solid black; color: black; height: 18em; width: 100%"></div> </body> </html> Hello, I am a student and working on a simple first project. All I'm doing right now is writing my code in text edit, saving it as "test.html", and dragging and dropping the file onto Safari/Firefox to view my code. Everything works when I'm at my college's computer lab, but when I'm on my own mac notebook, the files load in the browser as my code. I've tried a variety of samples and checked my preferences, but I can't figure out what I'm doing wrong. Sample code I'm using - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Simple Link Example 2</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Creating Relative Reference Links</H> <HR> <P>Open <A HREF="practice1.html">Practice 1</A>.</P> <P> Open <A HREF="practice2.html">Practice 2</A>.</P> <P>Open <A HREF="practice3.html" TARGET="_blank"> Practice 3</A> in a new window.</P> </BODY> </HTML> Please help! I'm trying to wrap up an assignment and have been banging my head against the wall all night. Thanks! cordelia I was curious to find out, where can i find a cool looking shoutbox code where i can put on my message forum? Looking for some neat, and cozy with some advance options. Meaning, i would like to change the colors to match with my forum and stuff. Thanks. Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. I use the Sitebuilder with my package from One & One as its very easy and quick to use. Anyway, my problem is that I used the 'W3C Markup Validation Service' and it found 6 mistakes. The mistakes were in the HTML code and for example would look like this: <b>text<b> instead of this <b>text</b> (the / missing) One & One say I cannot access the HTML code for my homepage, so how am I suposse to fix it? Any ideas? Thanks |