The tags we have used so far all have some default styling associated with them. h1 tags are big and bold. p tags have space above and below them.
There are a whole class of tags that have little or no default styling. We use them to mark up parts of our page, and then add our own styling.
Use the following HTML:
<!DOCTYPE html> <html> <head> <title> My Wonderful Page </title> </head> <body> <header> <h1> My Wonderful Title </h1> </header> <article> Some fabulous content </article> <footer> A handy footer, possibly containing some links </article> </body> </html>
Using style attributes:
Also using style attributes:
Do not be tempted to use width attributes or anything like that. Only use style attributes.