See if you can create the HTML for this mockup by following the steps below. Don't worry about the CSS. We'll add that tomorrow!
- In your
dev
folder:- create a new folder called
html_blog_practice
- create an
index.html
- set up a basic html page with
DOCTYPE
,html
,head
, andbody
tags.
- create a new folder called
- Add some content to the page
- Open the page in your browser
- Pretend you are preparing a paper with title, headings, and sub headings
- Add the relevant heading tags
- Add some fake content as if they were paragraphs
- In your page, add
header
,footer
,main
,section
, andnav
tags where appropriate - insert placeholder text
- Add a list to your navigation section. Put some items in with content. Later we'll make these links.
- Choose some random chunks of text to make bold and italics
- After each sub section of your page, add a horizontal line
- In your navigation, add actual links to other sites
- For each sub section, between the header and the beginning of the placeholder text, add an image.
- Go to a favorite web page of yours
- Write down what kind of tag you think is being used for each piece of text
For information on accessibility and search engine optimization, see Accessibility and SEO.
For information on HTML5 Boilerplate, see HTML5 Boilerplate.