HTML Non-Semantic Elements

  • These non-semantic elements are often employed for styling purposes or to achieve a specific visual layout.

Here are some commonly used HTML non-semantic elements:

  • <div> – A generic container that is used to group and style other elements.
  • <span> – It is an inline container used for styling or targeting specific parts of the text within a larger block of content.
  • <br> – This tag is used to break the line.
  • <b> – Used to make the text bold.
  • <i> – Used to make the text italic.

πŸš€ Try it yourself! Click the button below to run the code and see the output in action.

HTML Code

Output

bahut ho gaya structure pe kaam chalo ab kuch styling karte hai πŸ€ͺπŸ˜€

Important Note: Want to download the full HTML course as a PDF? Click here to save it locally!

Leave a Comment