HTML - In View Source, Why Do Some Pieces Of Text Appear As Red?
In View Source, why do some pieces of text appear as red? Are they highlighting an error?
Similar TutorialsHi everyone does anyone know whats up withe the new look view source up the page options .......I can't seem to edit or add to my html sources as I usually can? Thanks! is there a way that i can disable view source? Was wondering if someone could look at this website and tell me what platform you are viewing from and is anything visibly wrong? http://voyageurwd.com/londonJeepClub.htm I made my own web site... www.mar-cela.com howver, when I open it with Explorer I cant see my jpg images, when I open it with Firefox all is ok. Any suggestions? http://www.planetcellinc.com Just the home page, if you could spare a minute to view the source. I would like to get some comments on the quality (or lack thereof) of this code. Any and all comments are appreciated. Thanks, Jeff Hi, Is there eny way of hiding the source of my website If there is please reply. Thanks Hello, it seems every now and then when I create an image from a document/scan or such and I upload it, It displays fine in FireFox, however users in IE are reporting that they're not seeing the image. Can anyone take look at this image and tell me if you see this displaying in IE? http://thejf.org/images/JCC124.jpg Is this an IE bug or something? How come this image appears fine in FireFox but not IE? Is there a code that makes it so that you can only view a page once per day. I'd like it to kinda be Jscript, so if you don't have it enabled, you can't view the page. Remember, ONE VIEW PER DAY!! And if you've already viewed it, can you make it redirect the person to a url address? Thanks. Hello I have a website with coding for a login and registration page.....I was able to get the login to work but the registation I am yet to figure out....but now when I go to my website and click on a link no matter what link it is it always makes me go to the login page.....any ideas why this is happening? Hey all.. Is it possible to have the browser resize the src inside an iframe? I'm loading up a website in an iframe, and it's just a tad larger then what I have room for in my content area.. I know that I can restrict the size of the frame itself, but then I'm left with those nasty scroll bars.. Thanks David i created a password protected forum to mess around with, but I've learned that if you just hit View Source its pretty obvious that the <var password=...> will tell you the password. Now ik that you can do these crappy encodings that would slow down getting the password by about 2 minutes but is there anything out there that will actually STOP people from viewing the source code indefinately? P.S. My Code: HTML Code: <b><font color=red><font size=5>WINTER IS COMING: HENCE THE SNOWFLAKES</center></b> <html> <body background="http://thenetworkstation.net/custom/bg-long.jpg"> <font size=3> <head> <script language="javascript"> <!-- function PlanA() { var password = "1883" var pass = prompt("Please Enter The Password To Gain Access To The Site"," ") if (pass.toLowerCase() == password) { window.location = "http://hiddenforum.darkbb.com/correct-password-h3.htm"; } else { window.location = "http://hiddenforum.darkbb.com/wrong-password-h2.htm"; } } --> </script> </head> <body> <p><center> <marquee behavior=alternate width="250" scrollamount="7" scrolldelay="96" height="20" bgcolor="#E0FFFF"><font size="3">Welcome to the Hidden Forum </font></marquee> <font color="white"> The Password Changed Regularly So Be On Regularly To Be Notified Before A Change</center></p> <p><center>If You Get The Password Correct Then You Will Be Redirected To A Forum. <center><a href="#" onClick="PlanA(); return false">Click Here To Enter Password</a></center> <p><center>Please Take A Moment To Visit My Other Forum: <p><a href="http://www.tastymods.net/" target="_blank">TastyMods.net a Game Console Modding Forum</a></right> </body> <center><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Ig74Ca-9zXQ?fs=1&%3Bhl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Ig74Ca-9zXQ?fs=1&%3Bhl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></center> </body> <!-- begin htmlcommentbox.com --> <div id="HCB_comment_box"><a href="http://www.htmlcommentbox.com">HTML Comment Box</a> is loading comments...</div> <link rel="stylesheet" type="text/css" href="http://www.htmlcommentbox.com/static/skins/simple/skin.css" /> <script type="text/javascript" language="javascript" id="hcb"> /*<!--*/ (function(){s=document.createElement("script");s.setAttribute("type","text/javascript");s.setAttribute("src", "http://www.htmlcommentbox.com/jread?page="+escape((typeof hcb_user !== "undefined" && hcb_user.PAGE)||(""+window.location)).replace("+","%2B")+"&opts=406&num=10");if (typeof s!="undefined") document.getElementsByTagName("head")[0].appendChild(s);})(); /*-->*/ </script> <!-- end htmlcommentbox.com --> <script> // Set the number of snowflakes (more than 30 - 40 not recommended) var snowmax=35 // Set the colors for the snow. Add as many colors as you like var snowcolor=new Array("#aaaacc","#ddddFF","#ccccDD") // Set the fonts, that create the snowflakes. Add as many fonts as you like var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS") // Set the letter that creates your snowflake (recommended:*) var snowletter="*" // Set the speed of sinking (recommended values range from 0.3 to 2) var sinkspeed=0.6 // Set the maximal-size of your snowflaxes var snowmaxsize=22 // Set the minimal-size of your snowflaxes var snowminsize=8 // Set the snowing-zone // Set 1 for all-over-snowing, set 2 for left-side-snowing // Set 3 for center-snowing, set 4 for right-side-snowing var snowingzone=3 /////////////////////////////////////////////////////////////////////////// // CONFIGURATION ENDS HERE /////////////////////////////////////////////////////////////////////////// // Do not edit below this line var snow=new Array() var marginbottom var marginright var timer var i_snow=0 var x_mv=new Array(); var crds=new Array(); var lftrght=new Array(); var browserinfos=navigator.userAgent var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/) var ns6=document.getElementById&&!document.all var opera=browserinfos.match(/Opera/) var browserok=ie5||ns6||opera function randommaker(range) { rand=Math.floor(range*Math.random()) return rand } function initsnow() { if (ie5 || opera) { marginbottom = document.body.clientHeight marginright = document.body.clientWidth } else if (ns6) { marginbottom = window.innerHeight marginright = window.innerWidth } var snowsizerange=snowmaxsize-snowminsize for (i=0;i<=snowmax;i++) { crds[i] = 0; lftrght[i] = Math.random()*15; x_mv[i] = 0.03 + Math.random()/10; snow[i]=document.getElementById("s"+i) snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)] snow[i].size=randommaker(snowsizerange)+snowminsize snow[i].style.fontSize=snow[i].size snow[i].style.color=snowcolor[randommaker(snowcolor.length)] snow[i].sink=sinkspeed*snow[i].size/5 if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size) snow[i].style.left=snow[i].posx snow[i].style.top=snow[i].posy } movesnow() } function movesnow() { for (i=0;i<=snowmax;i++) { crds[i] += x_mv[i]; snow[i].posy+=snow[i].sink snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i]); snow[i].style.top=snow[i].posy if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){ if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} snow[i].posy=0 } } var timer=setTimeout("movesnow()",50) } for (i=0;i<=snowmax;i++) { document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>") } if (browserok) { window.onload=initsnow } </script> <BGSOUND SRC="http://www.maximumdonline.com/themes/benhill.wav"> </Script> <Ray: ><DIBBLE DONT TOUCH THE LINK BELOW> <Dib: ><LOL I WAS GOING TO DELETE> <Ray: ><If you ever decide to encrypt this page as well never encrypt that link either> <Dib: ><LOL - leave it un-encrypted but hide the password from the HTML so no 1 can see it through the source and no 1 will be able to crack!> <Ray: ><You wanna do that? coz i have no idea. lol.> <font size=0><a href="http://www.forumotion.com" target="_blank">forumotion.com</a> Hello, When i am viewing our site with IE9 compatibility mode or old versions of IE then the twitter feed at the bottom of the page is misplaced. http://www.greekconcierge.com/ Any ideas on how to fix this? many thanks, Andy Hi All We are trying to display around 30-40 images in one HTML page.Location for (<Img src "Location"> )images generated at run time through java Code. Problem: Browser is showing the random behaviour. Sometimes it is able to display all the images and sometimes it shows Cross sign having no image display. But when we check for properties of such images then it shows the exact path where the image is located. For other properties except location it shows like: content: not Available Size: Not Available Format :Not Available Creation Date:Not Available Also, when we pick this path from properties and try to open it in the browser window then it shows 404-Page not found Error. Please let me know if anybody is having any idea on this issue. Thanks... Vipin Arora Hello, Sorry if this is in the wrong section. I have an HTML page that has an Outlook View Control. Something simple like this: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>View Control</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <meta content="MSHTML 5.50.4522.1800" name="GENERATOR" /> </head> <body style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;"> <div> <script src="email-inbox.js" type="text/javascript"></script> </div> </body> </html> the javascript file has only this: Code: // inserts the <object> and <embed> tags to circumvent the new restriction in IE (since April 11 2006) document.write('<object id="ViewCtlFolder" classid="CLSID:0006F063-0000-0000-C000-000000000046" width="100%" height="180px"><param name="Folder" value="Inbox" /></object>'); The problem is that when Microsoft Outlook is not installed this will fire a Javascript error. I want to avoid that error and display a message like "Microsoft Outlook not installed". Is there any way I can do this? Thanks in advance How do I display how many views a page has had on another page? So if I had a homepage and an about page how do I display how many views the about page has had on the homepage? Hi, I have access to managing a site using Dreamweaver. I need to update a few images and pdf files into a folder located inside the remote view, to be uploaded to the Internet. I can delete the old files from that folder located in the remote view; Can you please explain how do I get the new files inside the remote view so that I can upload them online. I dont have the folders on my deskstop. There is a local view though, but I cannot locate the folder that needs to be updated. Please advise. Thank you hello, i am updating a website for a company, and when i go to add a new image, i cannot link to it. ie, in a page i do an <img src=image.jpg> and the image does not show up on the page (i get the 28x30 "Not Available" image) I can't even figure out what is causing this. The sources are right... Permissions are right.... I can view it locally (C:/.../img.jpg) but when i try to view it through the internet (www.domain.com/.../img.jpg) i get nothing. please help, this is a very urgent and serious problem hi i have a bit of a problem i am making a website with html and css and when i want to view it in mozilla i only get the text and when i open it in ie6 i see my whole stylesheet i dont get it html 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"> <head> <title>Visual Basic Tutorials</title> <link rel="stylesheet" "type=text/css" href="style.css" /> </head> <body> <div class="spacer"></div> <div id="wrapper"> <div class="banner"> <img src="dat.png" /> </div> <div class="tekst" id="links"> <div>Main content </div> <hr /> <div class="textboxes"> <div class="textboxspacertitle"> <h3>Title</h3> </div> <hr /> <div class="textboxspacertext"> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> </div> </div> <div class="textboxes"> <div class="textboxspacertitle"> <h3>Title</h3> </div> <hr /> <div class="textboxspacertext"> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> <p>TekstTekstTekstTekstTekstTekstTekstTekstTekstTekstTekst</p> </div> </div> </div> <div class="menu" id="rechts"> <div class="menuspacer"> <h3>Navigation</h3> </div> <hr /> <div class="menuspacer"> <div class="list"> <ol> <li><a href="Index.html">Home</a></li> <li><a href="Tutorials.html">Tutorials</a></li> <li><a href="Downloads.html">Downloads</a></li> <li><a href="Links.html">Links</a></li> <li><a href="Contact.html">Contact</a></li> </ol> </div> </div> </div> </div> <div class="spacerbottom"> Copyrights by: Kevin 2008 </div> </body> </html> css: Code: *{ margin: 0; padding: 0; } body{ font-family: arial; color: #333; size: 12px; background: #ddd; } .spacer{ height: 1.8em; display: block; } #wrapper{ background: #eee; width: 800px; height: 900px; margin-bottom: 20px; margin: 0 auto; border: 1px solid #999; } .banner{ background: #bbb; border:2px solid #999; height: 98px; width: 717px; margin-left: 40px; margin-top: 50px; vertical-align: middle; } .tekst{ border: 2px solid #999; height: 700px; width: 500px; background: #bbb; min-height: 700px !important; } .menu{ border: 2px solid #999; width: 200px; background: #bbb; } #links{ float: left; margin-left: 20px; margin-top: 25px; } #rechts{ float: right; margin-right: 20px; margin-top: 25px; } a:hover{ text-decoration: underline; } a{ text-decoration: none; color: #000; } .menuspacer{ margin: 15px 15px 15px 15px; } .textboxes{ border: 2px solid #999; margin-left: 25px; margin-right: 25px; margin-top: 15px; height: 200px; background-color: #ddd } .textboxspacertitle{ margin-left:10px; margin-top: 15px; } .textboxspacertext{ margin-left:10px; margin-top: 5px; margin-bottom: 10px; } .spacerbottom{ height: 1.8em; display: block; text-align:center; } img{ border: 1px solid #999 } I want to add a .swf to my website here is the code I wrote (or copied) <TD width=600> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="550" HEIGHT="400" id="myMovieName"><PARAM NAME=movie VALUE="http://www.weebly.com/uploads/1/3/6/8/1368686/budgeting_basics.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> </TD> This works, the problem is the video starts playing as soon as you open the page. How to I add a "click here to view video" so people have the option of seeing the video? I have a band in which I made a banner for. Here is an example HTML Code: <a href="http://www.myspace.com/goodbyesunshinetheband"><img src="http://www.jacobkelleydesigns.com/myspace/profiles/goodbyesunshine/bannerrect.gif" alt="" border="0" /></a> Is there any PHP or HTML Script I can use to view how many pages contain that code or image? Preferably on myspace, I'd like to see how many people use our banners. Hope I made any sense, hehe -Jacob |