WebPages & HTML … the sandwich analogy by L Chow
Building a web page Is like making a sandwich
mustard lettuce meat tomato a simple sandwich BREAD Paragraph 4 Paragraph 2 Paragraph 3 Paragraph 1
mustard lettuce Ham tomato MULTI-GRAIN BREAD or a multi-layer sandwich BREAD Paragraph 4 Paragraph 1 Paragraph 2 MULTI-GRAIN BREAD mayonaisse Chicken Paragraph 3 Link 2 Link 1
unlike a sandwich zthe slices of bread are called tags zalmost all tags need a “matching slice” that ends the section. For example: … web page content
Sample HTML code for the browser … to control the look … a place for links; defined in the style section above … a place for main content; also defined in style Indent to show structure Add blank lines to separate sections Make sure your tags have... … end tags
No crossing lines ! for the browser … to control the look … a place for links; defined in the style section above … a place for main content; also defined in style
Now practice … with your first website assignment