They help us to structure web pages in a way that makes them easier to function and absorb.
Semantic HTML is the correct use of HTML to reinforce the meaning of content on a web page, rather than merely define its appearance.
Semantically correct HTML helps search engines, screen readers, and other user devices determine the significance and context of web content. In order to effectively represent the meaning of content, appropriate HTML elements are chosen according to inherent meaning, rather than how they appears visually on a rendered web page.
http://www.springboardseo.com/resources/what-is/semantic-html.html
six
Dates, mathmatical equations, or chemical formulations.
<sup> is up <sub> goes down.
title
What are ways we can apply CSS to our HTML?
External style sheet, internal style sheet, or inline
Why should we avoid using inline styles?
It creates a quigmire of code, also if there are stylings intended to be executed onto multiple pages of the site, the programer would have to go into every single page and edit as opposed to editing one style sheet and having it applied across the board.
Review the block of code below and answer the following questions:
-What is representing the selector?
h2
-Which components are the CSS declarations?
the color and padding
-Which components are considered properties?
color
/ h2 {
/ color: black;
/ padding: 5px;
/}
## Learn JS
string
addition, subtraction, multiplication, division (+, -, *, /)
Assignment (=)
Strictly equal to (===)
Not, does not equal to (!, !===)
From the sounds of it, functions concern themselves with some sort of input from the user, so in regards to a real world problem, a lot website interactivity could be solved by using functions.
An if statement checks a condition and if it evaluates to true, then the code block will execute.
It give the website a little bit of versatility regarding user interaction, allowing for options.
What is the difference between the logical operator && and | ? |
Let a = false b = true
a && b = false
a | b = true |