To understand web design, I want you to think of the work of art by Joseph Kosuth entitled, “One and Three Chairs”. Here is an image of the piece. As you can see we are presented with three different ways of representing a chair: verbal, physical, and a photograph. Which one is the real chair? All of them? Are they the same thing? Web design is very similar.
Paragraph tags define the body copy of any bit of text. This sentence, as are all of the sentences, are wrapped in paragraph tags. A break tag is gives us line breaks inside of paragraphs.
I prefer to use one opening "p" tag and instead of closing each paragraph with a closing
Whoa! That cool thing was a horizontal rule. Similar to the "br" tag, it is a standalone tag that allows make a horizontal rule on the page. This rule will span the entirety of the containing structure.
When we are creating HTML pages we use containers called divs which is short for divisions. Divs allow us to compartmentalize areas of a web page in sections so that we can create rows and columns. Today, with responsive design, there are many, many structural systems that we can use such as Bootstrap 3 and Skeleton which allow us to create websites that behave differently across many different types of devices… more about that late. For now, let’s try to make some basic structure on the page. Think of this as a Russian doll. We will have one very large container with smaller containers inside of that and so on. I’ve placed a div called wrapper into our page which contains everything. I’ve also created smaller divs which fit inside of those called “third” and “box”. More on that in a second. So, at this point, we’ve fleshed out a very basic HTML page. Obviously, it looks pretty boring and static. HTML allows us to get the information into our browsers with some basic hierarchy, but In order to make this look like an actual web page, we need to add something called CSS or a cascading style sheet. CSS is style sheet which assigns rules to HTML elements. For instance. We have an “h1” tag. As it stands, it is purely default. What if we want to change the color or change the size of it? We can do this by assigning styles to that tag so that when it displays we see the “h1” element, but with new color or as a different size.