Fundamentals of HTML & CSS From Scratch.
Fundamentals of HTML & CSS From Scratch.
5.Headings
when we're working on our Web page by editing the file in a code editor we call it a document
when we then preview the document in a web browser we call it a web page
process of using html to describe what we have in our document is called marking up.
<h1> -- heading start
</h1> -- heading end
6.Paragraphs
7.Tags In Detail
Every tag has the same triangular brackets with the name of the tag between them
come in pairs
The first tag is called the opening tide and the second tag is called the closing tag.
All closing tags contain a forward slash.
Everything between the opening tag and the closing tag is called the content.
whole thing is called an element
8.Structure Tags
<html>
<head>
</head>
<body> </body>
</html>
9.HTML vs CSS
The browser uses its own default to CSS document to style our HTML element if we don’t provide CSS
10.Review
BASIC CSS
Output Michael
We do this by introducing a html tag called Style which will contain our CSS settings. <Style>
We place style tag in head
14. Review
MORE HTML ELEMENTS
16. Nesting
18. Space
<br>
<br><br> - two line breaks
(no closing tags)
19. Emphasis
20. Strong
<q></q>
<blockquote> </blockquote>
23. Review
Linking To Pages
24. Intro To Links
Webpage contains multiple documents( web pages) that are linked together
we've described the html element as a “link” we need to describe the way it should link to
we do this by introducing an attribute called <href>
An attribute is something that gives us more information about an element.
<a href =””>
a relative path starts from where we are and uses the dot dash method to plot a path to where we want
to be.
absolute path is a path that starts not from where we are but from the root folder and plot a path down
to the file we want.
Absolute Path don't use any dots in the dot dash method
The Internet is made up of computers connected to each other and we are one of those computers
all documents. When we type the address of a website into our browser the browser sends a signal
over the wires to request a document from the computer that has it. Once our request reaches the
computer the computer says Yep I have that document. Here it is and sends it to us which gets
displayed as a web page through our browser.
39. Review
IMAGES
42. Review
SHOPPING LISTS
3 types of list
Unordered list
ordered list which is for describing a list of items that have an order to them. <ol>
number will appear
<ol>
<li> first bulletin </li>
<li> second bulletin </li> </ol> or
Definition list
<dl>
<dt> help </dt>
<dd> to give </dd>
<dt> start </dt>
<dd> to commence </dd>
Help
To give
Start
To commence
44. Review
MORE CSS
h1,h2
{color : dimgrey}
We simply applied once to the parent element and all the nested elements. The children will inherit it.
Body
{color : dimgrey}