write a web page? • What are the primary sections of a web page? • What file type is a web page? • I need to add some structure to a page, what do I use?
semantic HTML. • Specifies how things appear on your pages. • Selectors (tags in HTML) identify what to target our style with. • A CSS class is denoted with a dot. • A CSS i.d. is denoted with specific elements.
we have a bunch of content on our site. But we want to group some of it in a semantic way that will help us add specific styles & structure to that content. • E.g. you want your list of hobbies to be styled & placed differently to your images or different kinds of content! • We can do this with <div> or <span>!
the site. It’s just a semantic mark to tell us & the browser to group this together. i.e. It does nothing to the page until you apply your CSS. • <span> is similar, but it’s inline. Can anyone explain inline to us yet?!
& target them with CSS to float them left or right (i.e. put them side-by-side on a page). - You will run into difficulty with this. But use online resources to figure out the answer. We’ll review after break to help fix your problems.
with the same CSS. Now you see why we use CSS – to add redundancy to our code & add efficiencies to how we work! 2 Figure out how to target a specific div on a specific page to look magically different. i.e. Target a div on another page different to a previous.