Login Register






[HTML] Make a Simple Website using HTML. filter_list
Author
Message
RE: [HTML] Make a Simple Website using HTML. #11
Not bad, basic, but you should have mentioned the <head> tags, and the document header
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: [HTML] Make a Simple Website using HTML. #12
<head> is what defines non-visible content to the user, for example scripts, css attachments or character configuration (at least that's my point of view Smile )

Example:

Code:
<head> <title>My web page</title> <--- This defines the name that appears on your browser's tab <link rel="stylesheet" href="mystyle.css"> <--- This embeds a CSS file in the HTML file <script src="yourscript.js"></script> <--- This embeds a JavaScript file (.js) </head>

This is just a small example and note that you can allways use CSS, JavaScript or PHP directly on the page, or like the example, keep separate files for better organization and load time Smile

(11-22-2011, 06:25 PM)peggy Wrote: Very simple and very good threa pal
most aspects of html can be found here

www.w3schools.com

And as Peggy mentioned, w3schools is in my opinion the best way to start. I learned A LOT from there and in doubt with some code, that's where I go to confirm Smile
It also has an html editor, so you can write code and check it on the fly.


Hope this was usefull and get to writting HTML and all that stuff, it's awesome Smile
Everything you knew of, redefined.

Reply

RE: [HTML] Make a Simple Website using HTML. #13
No, <head> tags are more for the header information of that specific page, and the basic setup or config with styles are usually put in there. meta keywords, descriptions, title, are all a part of that page header information.

Non-visible information can be put anywhere on the page even outside of the <head> tags. Javascript, PHP, you can put both of those outside of the <head> tags if you want, sometimes it's better to have them in <head> tags, for certain reasons though.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: [HTML] Make a Simple Website using HTML. #14
(11-25-2011, 12:22 AM)Infinity Wrote: No, <head> tags are more for the header information of that specific page, and the basic setup or config with styles are usually put in there. meta keywords, descriptions, title, are all a part of that page header information.

Non-visible information can be put anywhere on the page even outside of the <head> tags. Javascript, PHP, you can put both of those outside of the <head> tags if you want, sometimes it's better to have them in <head> tags, for certain reasons though.

Yeah I know, what I meant by "non-visible information" was more like configuration, but it didn't seem too apropriate.

Thanks for the correction Smile
Everything you knew of, redefined.

Reply