When working with JavaScript, it’s essential to have a fundamental understanding of HTML, because these two languages work hand in hand. HTML defines the structure of our content, and then JavaScript manipulates that content.
HTML is made up of elements, where tags are used to markup, aka describe, content which the browser then interprets.
Example elements:
To understand the syntax for elements and tags, study the following diagram:
The above element examples focus on content visible within the page, but there are other “bigger picture” elements used to structure and configure the page as a whole. To understand the role of these elements, study the following diagram:
HTML has about 140 different elements, but you’ll find that there's probably a subset of maybe 10-15 tags you will use most commonly.
Skim the MDN list of all elements to familiarize yourself with what is available, and look up specific elements in the MDN docs as you encounter them.
Applying the notes above, take a moment to skim the content within your psy1903/basics/index.html file and answer these questions:
</h1> tag.No subscriptions, no auto-renewals.
Just a simple one-time payment that helps support my free, to-the-point videos without sponsered ads.
Unlocking gets you access to the notes for this video plus all 200+ guides on this site.
Your support is appreciated. Thank you!