Glossary
Closing tag

Closing tag

A closing tag marks the end of an HTML element, like

closing a

tag. It's the same as the opening tag but with a forward slash added, so the browser knows exactly where that piece of content stops. Skip a closing tag and you can end up with broken formatting or elements running into each other.

Here’s a syntax example with an opening and closing tag: 

<p>This is a paragraph in HTML.</p>

Some tags serve both as opening and closing tags. These are called self-closing tags, which you can use for shorter elements such as horizontal rule breaks, line breaks, and images. 

Here are some examples of self-closing tag syntax:

  • <img/> 
  • <br/> 
  • <hr/>

HTML tags give you more control over your web designs, including nesting elements. You can include an <img/> within a <p> and </p>, for example. In Webflow, you can input custom HTML code like semantic tags to adjust elements to your liking.

Get more comfortable with HTML in Custom code in Webflow.

Other glossary terms

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Hmm…we couldn’t find any results. Try a different search term or reset the filter.
Reset the filter
Load more