2 min readOct 11, 2020
Blog 100
- What excites you about coding? How do you think it can change the world? The new opportunity of going into this growing industry is what excites me most, as well as learning something new. I think coding can change the world by making everyday task such as checking a work schedule or looking up a workout program much easier.
- What does doct type do at the top of your HTML file? why does it need to be specified? The doct type categorizes the the code the HTML is using in order for the browser to read it.
- Explain how a Browser determines what HTML elements match a CSS selector? The CSS will match the HTML base of corresponding elements that are being used in both sets of code. For example, the <h1> in the HTML will be effected by the <h1> in the CSS.
- What’s the difference between an HTML element and an HTML tag? HTML elements are a cluster of elements that are positioned between tags. The tags are placed in order to start and end a section in the HTML.
- In your own words, explain the cascade of CSS. The cascade in the CSS is the list of commands the are placed in the CSS in order to style the code in the HTML.
- Explain, to someone you know, the 3 ways to link/use CSS in an HTML file to style a web page.
1- One way is by using an inline style sheet, this applies the style to all the element in the corresponding code
2-Another way is the external style sheet, this prosses involves linking an external CSS file inside the HTML.
3-The third way is through a internal style sheet, this is done by listing single commands through a style element in the HTML.