Html Codes

brwnydgrl775

Really Experienced
Joined
Oct 28, 2006
Posts
204
i am not sure if anyone has posted already about htis..but i am trying really hard to write a webpage for a class...its due wednesday..unfortunately i am doing something wrong with my codes i think..i copy and past examples into a new notepad..and it works..but when i erase a heading..or paragraph it stops working...and i try to make at least a heading and title for one..and it isnt showing up when i go to view with..im getting really really frustrated..if someone could help..that would be fabulous
 
what kind of web page?

for a working page all you need are
Code:
<html>
<head>
<title> TITLE GOES HERE </title>
</head>
******>

Tables
Divs
Paragraphs
everything else goes here

</body>
</html>

I'm currently trying to fix one I also need for school
not quite working the way I want it to :rolleyes:
 
ShinigamiSama said:
what kind of web page?

for a working page all you need are
Code:
<html>
<head>
<title> TITLE GOES HERE </title>
</head>
******>

Tables
Divs
Paragraphs
everything else goes here

</body>
</html>

I'm currently trying to fix one I also need for school
not quite working the way I want it to :rolleyes:

Lol..yeah..its a bitch..my problem appears to be..anytime i change anything..as small as a letter in a sentance it is not registering it..and it stays with the original layout..and i save it..so that isnt hte problem
 
browser cache?
ctrl+shift+f5 forces a refresh in IE
I forget the shortcut for FF though
but its never a problem to get anything to render in ff :rolleyes:
 
brwnydgrl775 said:
Lol..yeah..its a bitch..my problem appears to be..anytime i change anything..as small as a letter in a sentance it is not registering it..and it stays with the original layout..and i save it..so that isnt hte problem

Every time you make a change to an HTML file, you need to refresh the page displayed in your browser -- especially if you have the page already open in the browser when you make a change to it; the browser doesn't automatically re-read the page if it is changed on disk unless you've written an auto-refresh routine into it and are willing to wit for the auto-refresh time setting to expire.

If you're closing your browser between changes, you either need to change your browswer setting to always read the entire page every time or refresh it to make sure that it read the changed file instead of the browser cache.
 
ShinigamiSama said:
browser cache?
ctrl+shift+f5 forces a refresh in IE
I forget the shortcut for FF though
but its never a problem to get anything to render in ff :rolleyes:
that seems to have worked..i was restarting the browser each time last night...i dont quite understand the problem..but so long as it is fixed i am happy..seems weird to me that hitting the refresh button would do it..but restarting wouldnt..what a stupid problem
 
That reminds me of a tale I was told about when I was at University, in one of the PC labs. Somebody got so pissed they were writing their HTML wrong that they picked up the monitor and lobbed it through the window. Smashing the glass, it made its way down from the 7th floor to the ground, where fortunately nobody was walking. I seem to remember they installed iron bars to go in front of the windows after that.
 
brwnydgrl775 said:
that seems to have worked..i was restarting the browser each time last night...i dont quite understand the problem..but so long as it is fixed i am happy..seems weird to me that hitting the refresh button would do it..but restarting wouldnt..what a stupid problem

The cache should most likely be manually cleared, and doesn't automatically do so every time you close a browser and open a new one. It's an action that does not need to be executed every time the act of openning and closing the browser is performed, so I guess they have left it to be done manually.
 
force the reload

In IE and probably Firefox and Opera you can hold down the CTRL key and click the RELOAD button to force the page to be reloaded instead of shutting down and restarting the browser.
 
brwnydgrl775 said:
seems weird to me that hitting the refresh button would do it..but restarting wouldnt..what a stupid problem

Browsers are designed to deal with bandwidth issues and cache pages so they don't have to bring them in over an ISP connection every time they're requested unless a change is detected.

In the advanced tab of your Internet Options you can set your browser to force a refresh every time you request a page and/or automatically clear it's cache when it's closed -- but even with a broadband connection, it will noticeably slow down how fast online pages are displayed.

There is also a way to force your HTML file to reload completely when ever it's requested -- look up the NOCACHE(?) command.
 
I FINISHED IT! THANKS GUYS!!
then..i looked at the homework du for tomorrow...and..it is essentially the same thing..except they give you the text they want...you have to make the background and format each joining page...i cant get ahead...
 
AlecCarter said:
...or to make it "force refresh" for any browser (links, lynx, safari, internet explorer, konqueror, nautilus, opera, firefox, iceweasel, mozilla, ETC),

you just put a ? at the end of the url.

http://www.google.com/? or http://www.google.com/index.html? will always get the current/latest index.html rather than every drawing from cache. Any HTML/web course should've told you that right away so that you wouldn't have to sit there hitting refresh and junk to see changes.

If you get any other HTML/CSS/server problems, feel free to PM/IM me.
that just opens up the url to hold GET data.....
 
AlecCarter said:
...yes, and also gets whatever the current/fresh copy of that file is rather than loading from cache, try it, you'll see :)
I've always had to manual clear the cache or hold down f5
and I've been working on my sites for about 8 months now
slow work when you're just learning php
meh
if it works it works
if not I've never noticed it
 
leftybogs said:
ive noticed that you dont have a opening
body tag... maybe thats why...

in the example, very true.
however most modern browsers are good at 'fixing' code mistakes like that. If you forgot a common tag, the browser assumes you meant to put it in there as it renders the page, and inserts it for you.

dunno if it'd assume a body tag though :)
 
AlecCarter said:
perhaps it only works with html?

I only use perl/html/SSI/CSS and avoid PHP for the most part, but have found it to work with most filetypes (images/thumbnails/text/video/&c)
...
php creates html documents...
its transparent to the user...

maybe it only works on empty urls I guess
 
AlecCarter said:
PHP does a lot more than that, however, it depends on if your end URL is unparsed PHP that is being served bare and then parsed, or statically created html that was built by PHP :)
php runs my sites view mySQL, and GET
as in: index.php?Mode=News
comments are currently in the beta and being refined
deletion works
updates have managed to break,

in two versions mySQL will then control nearly everything VIA 2-5 main functions everything will be automated :)
 
AlecCarter said:
I avoid MySQL like the plague too, outside of the few WIKI sites that I manage that use it.

(in other words, most HTML and other old/basic stuff I know, but I"m really nothing but a Linux administrator and a BSD user :))
old schooler eh
explains the perl

currently studying to be a solaris admin :rolleyes:
I hate outdated course descriptions
and SQL is everyones friend
you can learn enough of it to make a web backend in a matter of hours
<3
 
Back
Top