To start off the base of a HTML page looks like this:
Doctype is very important when coding a web page. The one in this example is HTML Strict. It is important because you want your code to validate. If your code does not validate it may not show up correctly in some browsers.
You put the stuff you want members to see in the body tag and stuff that works in the background (CSS, javascript etc) in the head tag.
There are 2 main tags you need to know when designing a site. Divs and Lists. They are easy to style with CSS.
Div Tag
Content
This creates a box which hold content or other divs. Divs have replaced tables.
Lists
- Item 1
- Item 2
- Item 3
This creates a list, sorta like this
- Item 1
Item 2
Item 3
You would use a list to list items or for a navigation.
Span
Content
The Span contains your text so it is easier to style. Some use the bold take instead because it loads faster. I personally use the span tag.
Bold
text
Example: text
h1, h2 etc
TEXT
The h1, h2 and other tags create headers. They basically just make the text size bigger.
Italic
text
Example: text
Underline
text
Example: text
Image
Example: exclaim
Link
text
text
Example: exclaim
HTML and CSS go hand in hand, I would suggest looking at the CSS guide in this forum.
HTML Links:
http://www.w3schools.com/html/default.asp
Example: exclaim
HTML and CSS go hand in hand, I would suggest looking at the CSS guide in this forum.
HTML Links:
http://www.w3schools.com/html/default.asp
