0 Users appreciate this thread.
Basic HTML
Junaid (2012-08-05 14:31:57)Between the <head> tag: CSS (<style> ), JavaScript, meta tags and <title>
Between <body>: All visible content on the page
SPCOxion (2012-08-06 01:43:57)@AidanSW:
@Junaid: Yep. And you can also put JavaScript in the <body> tag, too.
Or at least, the JS codes I've been taught can.
angelrulez7 (2012-11-12 21:13:51)= <hr>
2012-11-12 21:14:26
a
Log in to submit a comment
Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)
New registered users today: 7
Newest registered user: ElegantVulpes
I'll be covering Basic HTML tags/codes here, hence the name.
Let's start with a basic HTML layout.
<html> <head> </head> <body> </body> </html>
Confusing, eh? Let me explain.
<html> - A HTML code activator.
<head> - You put special codes inside this tag. (I'll explain later.)
<body> - You put text that will be displayed here, usually with/inside other tags.
Now we'll learn more tags.
<html> <head> <title></title> </head> <body> <h1></h1> <p></p> <br /> <hr /> </body> </html>
<title> - Names the page. You put this in the <head> tag.
<h1> - The largest heading. You can change the 1 to any number between 2 and 6. The greater the number, the smaller the heading.
<p> - A paragraph. Making multiple <p> tags separated by even nothing will create a bouble line break**.
<br /> - A single line break*.
<hr /> - Creates a line. (Type [line] anywhere on here to see what it does.)
*A sin
gle line break is in the middle of the word 'single'.
**A double line
break is in-between the words 'line' and 'break'.
2012-07-31 04:20:29