The lecture shows you how to select an HTML element for styling with CSS using its id or class attribute instead of using the type selector that targets all elements of a specific name.
Using a type selector is usually not the best practice because HTML web pages usually have hundreds of elements and changing all of them at once to comfort to a specific style might cause inconsistencies in the design.
You can select a specific element for styling with CSS using its id attribute. Only one, and only one, element may have that unique identifier.
If you need to select multiple elements for styling under the same ruleset, you can use the class attribute. It turns out using a class is usually the most popular and safe choice for best practice. When in doubt, just use a class.
The lecture also gives the example of leveraging CSS code already written by somebody else, like the Bootstrap design system. Because the class definitions are already written for you, all you have to do is use the class...
Learn how to mark text in HTML with the tags for strong importance and emphasis.
#html
The lecture gives a brief introduction about HyperText Markup Language (HTML) and how to write a tag with the paragraph element.
#html
An introduction to HyperText Markup Language (HTML) to build websites.
The lecture goes over the writing of many common HTML tags such as paragraph.
You also learn other elements such as strong and em.
The lecture also goes over the different headings of levels one through six.
You also learn how to make an unordered list that shows bullet points.
The lecture also goes over making links with the anchor tag.
The lesson also shows you how to show an image.
#html