Opening/Closing tags
What is opening/closing tags?
The opening/closing tags are an important part of structuring and building content on a web page. They help interpret and display the content on the web page through HTML codes.
The opening tag is used at the start of a webpage and its content, while the closing tags are used at the closure of the contents. Hence, they help design a website with essential elements. They can be understood with the following example,
- For a paragraph, <p> is the opening tag, and </p> is the closing tag.
- To make a text bold, for eg, “application” can be made bold, and the opening and closing tags can be coded as <application>bold</application>
- For a heading, <h1> is the opening tag, and </h1> is the closing tag.