SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Geek Stuff

source code

(18 posts)
  • Started 6 years ago by jack7h3r1pp3r
  • Latest reply from jack7h3r1pp3r
  • Topic Viewed 4186 times

jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

would anybody happen to know how i can view the full source code for web pages. because some web pages that i view the source in shows up differently when i am on different computers like when i am at school and at home when at school and other places i can see the source the way it's supposed to be seen then at home some pages look all messed up and i can't see certain things. i think that it might be my isp thats blocking some of the stuff. but i need a way around it. any help would be helpful

edit: can this be put in a different forum it's not really a vista issue

Posted 6 years ago
Top
 
wallaceb
wallaceb
Posts: 214

you can't really see the "source code" of a site. most sites use scripts like asp or php to generate the HTML that is sent to your browser. The only thing you can see is that HTML. in FF if you click View>Page Source, you will be able to see the HTML.

Posted 6 years ago
Top
 
jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

yes i know this but some of the comments and other things i can't see. i know how to see the source and understand the scripts and such.

Posted 6 years ago
Top
 
wallaceb
wallaceb
Posts: 214

ok, i figured you did know, but had to be sure :)

out of curiosity, what sites are you trying to see?
do you know if they are using proper Valid HTML code? you can check that here
http://validator.w3.org/check?.....allaceb.us

i have entered in the URL of one of my websites, if you replace the url of my site with that of the site you are trying to look at, you can run a test on it. if the site is using proper and valid HTML then it will show up on (just about all) browsers the exact same way.

try this, and let me know

Posted 6 years ago
Top
 
jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

so what if it's not valid? then what do you have to do?

Posted 6 years ago
Top
 
wallaceb
wallaceb
Posts: 214

well, if it is not valid, then there is not a lot you can do. it is the responsibility of the web developer who made the site to make the site Valid. if it is not, then it would have to be re-written to be valid.
If it is not valid, then the browser you are using will try its best to display the web page, but it can look different depending on how a browser on one computer processes the page compared to another.

Now, many websites fail the test for only minor things. can you tell me how many things it failed, and what one or two of those things were?

Posted 6 years ago
Top
 
jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

well one of the sites that i have noticed it on is down at the moment but i tried some other sites like yahoo and www.renegadeboardshop.com and they both weren't valid.

here this is for renegadeboardshop:

1. Error Line 67, Column 10: element "u" undefined.

<u>Sunday through Thursday:</u>

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
2. Error Line 73, Column 2: element "u" undefined.

<u>Friday & Saturday:</u>

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
3. Error Line 80, Column 2: element "u" undefined.

<u>Deal Days Specials!</u>

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).
4. Error Line 91, Column 101: there is no attribute "border".

…<img width="480" height="336" border="0" src="http://www.renegadeboardshop.co

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
5. Error Line 112, Column 22: there is no attribute "width".

<td width="100%" valign="top" align="left">

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
6. Error Line 113, Column 21: there is no attribute "align".

<p align="left">To join the mailing list please enter your e

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
7. Error Line 118, Column 78: there is no attribute "name".

…maillist/subscribe_process.asp" name="SubscribeForm" onsubmit="return validat

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
8. Error Line 119, Column 70: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.

…en" name="strAction" value="AddNew" /> <input type="hidden" name="listID"

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "", "<span>", or "<font>").
9. Error Line 119, Column 122: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.

…pe="hidden" name="listID" value="5" />

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "", "<span>", or "<font>").

Posted 6 years ago
Top
 
jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

i know that there is a way around it. but i cant remember where i heard it at or how to do it. and i will try to show what i am talking about.

Posted 6 years ago
Top
 
wallaceb
wallaceb
Posts: 214

ok, sounds good

Posted 6 years ago
Top
 
jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

i have a feeling this one might be a while

Posted 6 years ago
Top
 
jack7h3r1pp3r
jack7h3r1pp3r
Posts: 2815

ok i finally got it this is the same source from the same page from 2 different isp's no editing here just copy and paste:

this one is from other isp:

<!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" xml:lang="en" lang="en">
<head>
<title>Hack This Site!</title>
<meta name="verify-v1" content="s/YXn7eQrMBoF9PL5jLJDiWpAxEXpJzE9JLg/zM4C2Y=" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Author" content="HackThisSite.org Crew." />
<meta name="Description" content="HackThisSite! is a legal and safe network security resource where users test their hacking skills on various challenges and learn about hacking and network security. Also provided are articles, comprehensive and active forums, and guides and tutorials. Learn how to hack!" />
<meta name="KeyWords" content="hack, hackers, wargame, war, games, hacking, security, computer, web, root, website, mission, challenge, radical, revolution, digital, site, deface, tutorial, guide, wargames, hacker, culture, ethics, society, net, hacking challenges, programming, tutorials, hacking forums, hack forums" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link href="/templates/dark/dark.css" rel="stylesheet" type="text/css" />
<link href="/pages/hts.rss.php" rel="alternate" type="application/rss+xml" title="HTS RSS feed" />
<base href="http://www.hackthissite.org" />
</head>

<body>
<div id="topbar" align="center">
HackThisSite -
RootThisBox

</div>
<div align="center">
Header Logo
<div align="center" class="radical">
<div id="beacon_1" style="position: absolute; left: 0px; top: 0px; padding: 0px; margin: 0px; visibility: hidden;"></div>
[Advertise With HackThisSite.org :: Hide These Ads]</div>
<table width="780" border="0" cellpadding="0" cellspacing="0" class="siteheader">
<tr>

<td class="sitetopheader"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160" valign="top" class="navbar"><div align="center">

<div>Hello, jack7h3r1pp3r

Settings - Logout

Skin Chooser

Private Messages
HTS Messages Center
You have 0 new messages.

</div>

<h4 class="header">Donate</h4>
<p>Donate to HackThisSite.org
HTS costs $300 a month to operate. We need your help!</p>
<p>Donors also receive special recognition on our donors page.</p>

<h4 class="header">Challenges</h4>
<ul class="navigation">

  • Basic missions
  • Realistic missions
  • Application missions
  • Programming missions
  • Logic missions
  • Extbasic missions
  • Javascript missions
  • Stego missions
  • <h4 class="header">Get informed</h4><ul class="navigation">

  • News
  • Article
  • Lectures
  • Useful Stuff
  • <!--
  • E-books
  • -->
  • HackThisZine
  • <h4 class="header">Get Involved</h4><ul class="navigation">
  • <span class="completed">Donate to HackThisSite!</span>
  • Submit Bug Report
  • Submit Article
  • Submit Lecture
  • <h4 class="header">Communicate</h4><ul class="navigation">
  • Forums
  • Message Center
  • IRC Quotes
  • IRC Stats
  • IdleRPG
  • Search Users
  • User Pics
  • Who is online
  • Rankings
  • IRC Chat
  • IRC Command Reference
  • <h4 class="header">About HTS</h4><ul class="navigation">
  • About the project
  • Bill of rights
  • Legal Disclaimer
  • Privacy Statements
  • Meet the staff
  • Advertise with HTS
  • Hall of Fame
  • <h4 class="header"></h4><ul class="navigation">
  • Firefox 2


    Link to us!

    <!-- <p><b>partners</b>

    -->
    <h4 class="header">Partners</h4>

    WiGLE.net

    Hackbloc

    Hellbound Hackers

    Hack4u Challenges

    UndergroundSystems

    phoenix free shells
    hackergames.net
    GameTied

    PullThePlug
    IP Tagger

    </div>

    </td>
    <td valign="top" class="sitebuffer">

    <center>

    <b>Level 1(the idiot test)</b>
    </center>

    This level is what we call "The Idiot Test", if you can't complete it, don't give up on learning all you can, but, don't go begging to someone else for the answer, thats one way to get you hated/made fun of. Enter the password and you can continue.

    <!-- the first few levels are extremely easy: password is 7babdb87 -->
    <center><b>password:</b>
    <form action="/missions/basic/1/index.php" method="post"><input type="password" name="password">

    <input type="submit" value="submit"></form></center>
    <center><table border="0" width="80%" cellspacing="0" cellpadding="0">
    <tr>

    <td class="dark-td"> <b>Help!</b></td>
    </tr>
    <td class="light-td"> If you have no idea what to do, you must learn HTML.

    </td>
    </tr>
    </table></center></td>
    </td>
    </tr>

    </table></td>
    </tr>
    <tr>
    <td class="sitebottomheader">End Footer</td>
    </tr>
    </table>

    <div align="center" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; color:#CCCCCC">This site is the collective work of the
    HackThisSite staff. Please don't reproduce in part or whole without permission.
    Page Generated: Thu, 07 Aug 2008 13:17:36 -0500 Exec:
    8</div>

    </div>
    <div align="center">
    <p>
     


    <!-- -->

    </p>
    </div>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-2391176-1");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>
    </body>
    </html>

    Posted 5 years ago
    Top
     
    jack7h3r1pp3r
    jack7h3r1pp3r
    Posts: 2815

    now this is from my isp:

    <!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" xml:lang="en" lang="en"><head><title>Hack This Site!</title> <meta name="verify-v1" content="s/YXn7eQrMBoF9PL5jLJDiWpAxEXpJzE9JLg/zM4C2Y=" /><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="Author" content="HackThisSite.org Crew." /><link rel="icon" href="/favicon.ico" type="image/x-icon" /><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /><link href="/templates/dark/dark.css" rel="stylesheet" type="text/css" /><link href="/pages/hts.rss.php" rel="alternate" type="application/rss+xml" title="HTS RSS feed" /><base href="http://www.hackthissite.org" /></head><body><div id="topbar" align="center">HackThisSite - RootThisBox</div><div align="center">Header Logo<div align="center" class="radical"><div id="beacon_1" style="position: absolute; left: 0px; top: 0px; padding: 0px; margin: 0px; visibility: hidden;"></div>
    [Advertise With HackThisSite.org :: Hide These Ads]</div><table width="780" border="0" cellpadding="0" cellspacing="0" class="siteheader"><tr><td class="sitetopheader"></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="160" valign="top" class="navbar"><div align="center">
    <div>Hello, jack7h3r1pp3r
    Settings - Logout

    Skin Chooser

    Private Messages
    HTS Messages Center
    You have 0 new messages.
    </div><h4 class="header">Donate</h4>
    <p>Donate to HackThisSite.org
    HTS costs $300 a month to operate. We need your help!</p><p>Donors also receive special recognition on our donors page.</p><h4 class="header">Challenges</h4><ul class="navigation">

  • Basic missions
  • Realistic missions
  • Application missions
  • Programming missions
  • Logic missions
  • Extbasic missions
  • Javascript missions
  • Stego missions
  • <h4 class="header">Get informed</h4><ul class="navigation">
  • News
  • Article
  • Lectures
  • Useful Stuff
  • HackThisZine
  • <h4 class="header">Get Involved</h4><ul class="navigation">
  • <span class="completed">Donate to HackThisSite!</span>
  • Submit Bug Report
  • Submit Article
  • Submit Lecture
  • <h4 class="header">Communicate</h4><ul class="navigation">
  • Forums
  • Message Center
  • IRC Quotes
  • IRC Stats
  • IdleRPG
  • Search Users
  • User Pics
  • Who is online
  • Rankings
  • IRC Chat
  • IRC Command Reference
  • <h4 class="header">About HTS</h4><ul class="navigation">
  • About the project
  • Bill of rights
  • Legal Disclaimer
  • Privacy Statements
  • Meet the staff
  • Advertise with HTS
  • Hall of Fame
  • <h4 class="header"></h4><ul class="navigation">
  • Firefox 2


    Link to us!<h4 class="header">Partners</h4>
    WiGLE.net

    Hackbloc

    Hellbound Hackers

    Hack4u Challenges

    UndergroundSystems

    phoenix free shells
    hackergames.net
    GameTied
    PullThePlug
    IP Tagger

    </div></td><td valign="top" class="sitebuffer">

    <center>
    <b>Level 1(the idiot test)</b></center>

    This level is what we call "The Idiot Test", if you can't complete it, don't give up on learning all you can, but, don't go begging to someone else for the answer, thats one way to get you hated/made fun of. Enter the password and you can continue.

    <center><b>password:</b>
    <form action="/missions/basic/1/index.php" method="post"><input type="password" name="password">

    <input type="submit" value="submit"></form></center><center><table border="0" width="80%" cellspacing="0" cellpadding="0"><tr><td class="dark-td"> <b>Help!</b></td></tr><td class="light-td"> If you have no idea what to do, you must learn HTML.
    </td></tr></table></center></td></td></tr></table></td></tr><tr><td class="sitebottomheader">End Footer</td></tr></table>
    <div align="center" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; color:#CCCCCC">This site is the collective work of the HackThisSite staff. Please don't reproduce in part or whole without permission.
    Page Generated: Thu, 07 Aug 2008 15:06:10 -0500 Exec: 8</div></div><div align="center"><p>  </p></div><script type="text/javascript">var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script> <script type="text/javascript">var pageTracker=_gat._getTracker("UA-2391176-1");pageTracker._initData();pageTracker._trackPageview();</script> </body></html>

    Posted 5 years ago
    Top
     
    jack7h3r1pp3r
    jack7h3r1pp3r
    Posts: 2815

    ok how do you disable links in posts?

    Posted 5 years ago
    Top
     
    wallaceb
    wallaceb
    Posts: 214

    i do not see any reason in the HTML code why it should be displayed differently

    Posted 5 years ago
    Top
     
    jack7h3r1pp3r
    jack7h3r1pp3r
    Posts: 2815

    yeah but it looks way different when i view it it just didn't really work when i posted on here i think i will put both in txt docs then you can download and see.

    Posted 5 years ago
    Top
     
    jack7h3r1pp3r
    jack7h3r1pp3r
    Posts: 2815

    ok here i got it now:

    here:

    http://rapidshare.com/files/13.....e.txt.html

    http://rapidshare.com/files/13.....e.txt.html

    don't worry it's a safe download and a good site too :)

    Posted 5 years ago
    Top
     
    wallaceb
    wallaceb
    Posts: 214

    once again i cannot see anything that should cause any problems

    Posted 5 years ago
    Top
     
    jack7h3r1pp3r
    jack7h3r1pp3r
    Posts: 2815

    hmmm....i'm not sure why they would be shown differently either but i'm sure it's the isp though well pretty sure at least :S

    Posted 5 years ago
    Top
     



    Topic Closed

    This topic has been closed to new replies.

    Enter Your Email Here to Get Access for Free:

    Go check your email!