What are Meta Tags?
Meta tags provide metadata about a webpage. They are placed inside the <head> section and are not visible on the page but help browsers and search engines understand content.
Basic Syntax
HTMLRead-only
1
Common Meta Tags
| Tag | Purpose |
|---|---|
| <meta charset="UTF-8"> | Defines character encoding |
| <meta name="viewport"> | Controls responsive layout |
| <meta name="description"> | Page description for SEO |
| <meta name="keywords"> | Keywords for search engines |
| <meta name="author"> | Author of the page |
Viewport Meta Tag
HTMLRead-only
1
SEO Meta Tags
HTMLRead-only
1
Open Graph (Social Media)
HTMLRead-only
1
Robots Meta Tag
HTMLRead-only
1
Best Practices
- Always include charset and viewport
- Write meaningful descriptions for SEO
- Avoid keyword stuffing
- Use Open Graph for social sharing
- Keep metadata updated and relevant
Common Mistakes
- Missing viewport tag (breaks responsiveness)
- Using duplicate meta descriptions
- Overusing keywords
- Ignoring social media meta tags
Conclusion
Meta tags are crucial for SEO, responsiveness, and sharing. Proper usage ensures better visibility and performance of web pages.