Jessica J McInerney

Home

Summary 2 - Chapter 1 & 10 - HTML & CSS

1. Structure with HTML

When creating a website, you need structure. HTML has a structure based system built into it. You can put anything on to a webpages, but knowing how to structure your content is most important when starting new code. This is paired with the use of tags.

2. Tagging the code

When you think about the structure of your html code, it has layers - like a sandwich! Each tag has a different attribute that it applies to the webpage. Some of the tages are hidden within the metadata, other tags create a clearly defined text on the page for viewers. There are many ways to tag your HTML code, but make sure you use them properly and always close the tags! No one wants an unfinished sandwich.

3. Style with CSS

HTML on its own gives the webpage its content in a plain look, that's where CSS comes into play. Learning CSS alongside HTML will help you create beautifully designed webpages. Each element of your HTML code is read by CSS as its own box of information. From a header to a paragraph. CSS lets you stretch, squash, change the font or color, or do almost anything to each box - if you know how to code CSS right!