Having trouble with html?

Locoluis

New member
Most scripts, images and other media related to an HTML page are referenced relative to the location of the page.

If the page is on a website, the browser will look for the media at the website.
If the page is on your file system, the browser will look for the media at your file system.

Since you only saved the HTML page, not the related media, the page won't work. Besides, many sites today use dynamic content generated on the fly, which is regenerated and requested each time you visit the website, and thus is not going to work from your local file system.

Don't waste your time on such silliness. Build your own website. Learn how the web works.
 
Alot of bigger website will use scripts like python php or sever side includes as well as cascading style sheets that are saved on the server side and are linked to the webpages. This says tons of time for web administrators, especially on large websites. This also means that half of the stuff you see on the webpage is no in the html code you copied. To get it to look like the site you would need the scripts and css files off their servers. And to get it to function like theirs you will need a web server with scripting (for php and server side includes).

Hope that helps
 
Hey, so just for fun I'm messing around with the html of websites to see if i can change them: google.com, runescape.com, etc. not to change things or screw things up and try to infringe on copyrights, just trying to see what i can do
so i have chrome: just inspected element, copied the html, changed the title from just "Runescape-" to "Runescape2-" not a huge change, but then after trying to open it (after running it through notepad and saving it as a .html file) half the script doesnt even show up on the page.
what's happening, anyone help?
 
Alot of bigger website will use scripts like python php or sever side includes as well as cascading style sheets that are saved on the server side and are linked to the webpages. This says tons of time for web administrators, especially on large websites. This also means that half of the stuff you see on the webpage is no in the html code you copied. To get it to look like the site you would need the scripts and css files off their servers. And to get it to function like theirs you will need a web server with scripting (for php and server side includes).

Hope that helps
 
the script is probably linked to their servers

if you save the file to your computer, it will look for files on your own computer, which you don't have
 
Back
Top