Remember the steps to create a web page:
- To do your assignment, you should first open Notepad. Do a very simple web page using the
very basic HTML code so you can test something simple. Note: When I am working on a web page, I
keep both Notepad and the browser I am testing in open.
- Save it with an .html or .htm extension.
- Go to a browser and do a file and then an open page (they all phrase it differently). Note that in class
I use Firefox so that is a good one to get comfortable with.
- Look at the results of your code. If it worked the way you want it to you are on your
way. If not you need to return to the HTML in Notepad and make some changes, save the page
with the changes and refresh in the browser to see the new version.
When you look at web pages, you can see the HTML code by going to VIEW in your browser and
looking for SOURCE or PAGE SOURCE or something similiar. The key word here is source.
When you turn in the assignment, you should send me the .html as an attachment.
I want you to write a page in HTML5 and the same page in XHTML. You should attach them both and send them.
Code for a basic example of HTML5
Code for a basic example of XHTML
Your web pages should each include the following:
- An h1 header
- Another header: h2, h3, h4, h5 or h6
- A break
- A blockquote
- A paragraph
- A division
- Something in italics using i and something bold using b (do not use CSS for these)
- An ordered list with several list items
- An unordered list with several list items
- A definition list
- One list embedded inside another list each with several list items
Extra credit if you get your pages to validate.