Add Semantic Tag to Blog Send Feedback Now, knowing the importance of DIV and Semantic tags, we will apply it to our blog page as well. So, divide your page into several sections eg., header, main, etc., whichever apply in your case. Remember, we use DIV to divide the page into meaningful sections and sometimes to apply some properties. So, there's nothing wrong and right while dividing your page, just don't add unnecessarily. Some hints are provided below. Note: Always apply one <div> just after <body> tag and then put everything inside it, i.e. header, main and footer. Hints to add semantic tags - 1. Make header section for the web page. 2. Make the main section for the blog. 3. Make header section for the blog. 4. Make article section for the blog. The blog page look the same as in the image below - <!DOCTYPE html> <html> <head> <title>Best Coding Practices</title> ...
Code Genius is an all-in-one platform for bloggers, YouTubers, job seekers, and tech enthusiasts. It offers resources on content creation, job search, cooling pads, latest tech info, smartphones, headphones, laptops, electronics, and online earning.