INR (₹)
India Rupee
Singapore Dollar

Inline Elements

Lesson 17/19 | Study Time: 5 Min
Inline Elements

⁕ Inline elements are those that take up only as much width as necessary. They are used to create small structures like links, spans, etc. They are also used to create text-level semantics like bold, italics, etc.
Examples: <span>, <a>, <strong>, <em>, <img>.
⁕ Cannot contain block elements but can contain other inline elements.


When you visit any of our websites, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and manage your preferences. Please note, that blocking some types of cookies may impact your experience of the site and the services we are able to offer.