Elements and Structure
Learn about HTML elements and structure, the building blocks of websites.
StartKey Concepts
Review core concepts you need to learn to master this subject
HTML
Element Content
<li>
List Item Element
<video>
Video Element
<em>
Emphasis Element
<ol>
Ordered List Element
<div>
Div Element
HTML Structure
HTML
HTML
HTML (HyperText Markup Language) is used to give content to a web page and instructs web browsers on how to structure that content.
Introduction to HTML
Lesson 1 of 2
- 1Welcome to the world of code! Last year, millions of learners from our community started with HTML. Why? HTML is the skeleton of all web pages. It’s often the first language learned by developers, …
- 2HTML is composed of elements. These elements structure the webpage and define its content. Let’s take a look at how they’…
- 4HTML is organized as a collection of family tree relationships. As you saw in the last exercise, we placed tags within tags. When an element is contained inside another element, it is consider…
- 7If we want to expand an element’s tag, we can do so using an attribute. Attributes are content added to the opening tag…
- 8If you want to display text in HTML, you can use a paragraph or span: - Paragraphs ( ) contain a block of plain text. - contains short pieces of text or other HTML. They are used to separat…
- 9You can also style text using HTML tags. The tag emphasizes text, while the tag highlights important text. Later, when you begin to style websites, you will decide how you want browsers to di…
- 10The spacing between code in an HTML file doesn’t affect the positioning of elements in the browser. If you are interested in modifying the spacing in the browser, you can use HTML’s line break el…
- 11In addition to organizing text in paragraph form, you can also display content in an easy-to-read list. In HTML, you can use an unordered list tag ( ) to create a list of items in no particular …
- 12Ordered lists ( ) are like unordered lists, except that each list item is numbered. They are useful when you need to list different steps in a process or rank items for first to last. You can …
- 14Part of being an exceptional web developer is making your site accessible to users of all backgrounds. In order to make the Web more inclusive, we need to consider what happens when assistive techn…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory