Skip to main content
Practice

SEO Optimization

Let's explore three important factors to make your web page faster and more user and search engine friendly.

If you need to optimize for SEO, make sure to understand the following:


1. Only One h1 Tag per Web Page

Just like there is only one title for a book, each web page should have only one h1 tag.

Web Page Title
<h1>Web Page Title</h1>


2. alt Tag for img is Essential

The alt attribute serves as alternative text when an image cannot be displayed. Search engines check for alternative text in images to understand their content.

Image Alternative Text
<img src="https://picsum.photos/200/300" alt="Random Image" />


Search engines assess the credibility of a web page through links to social media platforms like Instagram and Facebook.


4. Use Semantic Tags

Utilize semantic tags such as nav, header, footer, section, main to clearly convey the layout and content of the webpage to search engines.


When other websites link to your site, these links are known as backlinks. Backlinks are one of the most significant indicators of a website's popularity and authority.

However, creating low-quality or artificial backlinks can negatively impact the reputation of your website.


  1. Create High-Quality Content: The most important thing is to produce valuable content so that other sites naturally link to yours.

  2. Guest Posting: Write guest posts for other websites or blogs and include links back to your own site in those posts.

  3. Avoid Low-Quality Backlinks: Search engines evaluate low-quality or spammy backlinks. Low-quality backlinks can negatively affect SEO.

Want to learn more?

Join CodeFriends Plus membership or enroll in a course to start your journey.