We’re transitioning to a new UI, and are in the process of updating our Webflow University courses and videos.

Background & preview

Gain essential background knowledge and preview key course concepts.

Background & preview

Gain essential background knowledge and preview key course concepts.

What is HTML?

HTML (HyperText Markup Language) is the foundation of web pages. It's a language that tells the browser what elements to display, such as headings, paragraphs, images, links, and buttons. Think of HTML like the framing and drywall of a house, providing the structure for the content.

HTML uses tags to organize content. For example:

  • <h1> creates a large heading
  • <p> creates a paragraph of text
  • <img> embeds an image
  • <a> creates a clickable link

Each piece of content or element on a webpage is surrounded by these tags, which give the browser instructions on how to display the content.

A side-by-side image of elements in Webflow and the HTML code they generate, for example a heading and <h1> tag.

What about CSS?

CSS (Cascading Style Sheets) is used alongside HTML, but it focuses on styling the content. While HTML handles what is displayed, CSS defines how it looks — like colors, fonts, spacing, and positioning. If HTML is like the framing of a house, CSS is the paint and decor that gives the house its look and feel. 

While we’ll briefly touch on CSS and styling, the main focus of this course is on building pages with HTML elements.

What are Elements?

In Webflow, Elements are the building blocks of a page. They represent individual pieces of content or layout, such as text, images, buttons, and containers, that you can drag and drop onto your canvas to design and structure a website.

Although you don't need to know HTML to use Webflow, every element you place on a page represents HTML code — Webflow is simply writing it for you behind the scenes. For example, when you add a Paragraph element, <p> tags are created in your site’s code. 

Understanding how HTML is used to build pages in Webflow is crucial for designing in a smart and scalable way. It also helps you conceptualize how to combine these building blocks to create custom layouts.

For example, to create a hero section (the large banner typically seen at the top of a homepage), you might:

  1. Start with a Section (<div>) to define the space. 
  2. Place a Container (<div>) inside to center the content. 
  3. Place a Div Block (<div>) inside to group your content elements.
  4. Add a Heading (<h1>) (like “Welcome to Our Site”).
  5. Add a Paragraph (<p>) for a short description.
  6. Add an Image (<img>) to give it visual impact.
  7. Add a Button (<a>) for a call-to-action (e.g., “Sign up now”).
Several elements nested inside other elements on a Webflow canvas to create a sample hero banner layout.

Parent vs. child elements

When elements are placed inside of other elements, it’s called nesting. An element that contains another element is referred to as the parent. An element that’s nested inside another element is referred to as the child.

So in our above example, the Div Block is parent to the Heading, which is its child.

Ready for more?

Click Complete & continue in the Course progress box on the right to keep learning.

Need help finding your way around? Learn how to navigate Webflow University lessons, courses, and learning paths, including how to mark items complete.
No items found.

1

Getting started

Coming soon

1

Background & preview
2:00
Background & preview
Coming soon

1

Intro to HTML & CSS
5:17
Intro to HTML & CSS
Coming soon

2

Working with elements

Coming soon

2

Add elements panel
2:23
Add elements panel
Coming soon

2

Essential elements
Essential elements
Coming soon

2

Section vs. Container vs. Div
2:40
Section vs. Container vs. Div
Coming soon

2

Navigator panel
3:32
Navigator panel
Coming soon

2

Review: Elements in Webflow
3:00
Review: Elements in Webflow
Coming soon

3

Working with assets

Coming soon

3

Add & manage assets
3:08
Add & manage assets
Coming soon

4

Wrap up

Coming soon

4

Additional resources
1:00
Additional resources
Coming soon

Course progress

0%

Assessment

Up next

Intro to HTML & CSS

Learn how HTML forms the foundation of every website — and how you can inspect, tweak, and even delete it in real time.
Complete & continue
Complete course