Basic Rules of the HTML Tag
Any basic HTML tag will follow a couple of simple rules.
- All html tags will be enclosed in brackets < >
- With few exceptions, there will be an opening and closing html tag.<> </>
- The html tag is not case sensitive. <html> is the same as <HTML>
- Some attributes are required as in the lang="" in the html tag
- Some html tags are required.
<html lang="en"> <head></head> <body></body> </html>
No Closing Tag
- The image tag <img>
- The meta tag <meta>
- The link tag <link>
- The br tag <br>
- The hr tag <hr>
There are other exceptions. Check out our resources for more information.
Our HTML Tag Resources
A basic online tutorial for beginners. Covers the most commonly used HTML tags.