reading-notes

Basics of HTML, CSS & JS

Why this topic matters: Continue building on the basics of building a website


HTML Text Fundamentals. HTML Advanced Text Formatting

1. Poem for why is it important to use semantic elements in our HTML?

Roses are red, Violets are blue, Semantic elements help structure our websites, So we can have accessible and high quality html to maintain.

2. How many levels of headings are there in HTML?

When a user requests a webpage, the browser retrieves the HTML, CSS, and JS files associated with the page from the server. The browser then parses the HTML file and constructs a Document Object Model (DOM) tree, which represents the page’s structure. The CSS file is then parsed and applied to the elements in the DOM tree, determining their style and layout. Finally, the JS file is executed, and any changes to the DOM or CSS are made dynamically as a result of the JS code.

3. What are some uses for the <sup> and <sub> elements?

Search engines like Google Images or Bing Images Stock photo websites like Shutterstock or iStock Free stock photo websites like Unsplash or Pexels Creating your own images or graphics using tools like Adobe Photoshop or Canva

4. When using the <abbr> element, what attribute must be added to provide the full expansion of the term?

fjdk