Connect with us

SEO

How to Make Fewer HTTP Requests

Published

on

how to make fewer http requests

When you browse the internet, do you ever stop to wonder what’s happening in the background? If the answer’s no, don’t worry. You’re not alone. Most marketers, even great ones, don’t give the “tech stuff” much thought. How a website performs is just something for IT specialists to worry about, right?

No, unfortunately.

If your website’s slow or clunky, it directly affects the user experience. In fact, 40 percent of people won’t hang around if your website takes more than 3 seconds to load. With this in mind, it’s crucial you know how to fix a sluggish website and streamline your page loading times before you lose leads.

Where do you start? Well, one way is to make fewer HTTP requests for your website.

Although an HTTP request sounds like a really technical term best reserved for engineers and IT pros, don’t panic. It’s something any good marketer can understand. Now, let’s take a deep dive into how these requests work and how you can use this knowledge to boost your website’s performance.

What Are HTTP Requests?

Before we get started, it’s crucial you’re clear on what HTTP requests actually are.

HTTP stands for “HyperText Transfer Protocol.” Think of HTTP as the language browsers and web servers use to talk to each other. We (thankfully) don’t need to cover all the intricacies of web code to understand how HTTP affects load time, but here’s a breakdown of the key steps marketers need to know.

When someone wants to visit your website, their browser sends a “request” to your server. This is known as an HTTP request. Your server acknowledges the response and kicks into gear, ready to display the webpage.

Here’s where it gets a little tricky, though. The browser can’t display the page right away. It needs copies of the various different files, such as plug-ins and images, to load the page properly.

How does the browser get these files? By making multiple HTTP requests. If the browser doesn’t make these requests, the page components won’t load.

Depending on how many components your page has, these requests can really add up, which is a problem. Here’s why.

Why You Need Fewer HTTP Requests

There are two simple reasons why every website should aim to reduce the HTTP requests associated with it.

Firstly, let’s start with page load time. The more HTTP requests your site receives, the longer it takes for the requested page to load. For example, a page with 20 HTTP requests will load faster than a page with 70 requests.

The issue? People don’t want to hang around waiting on a website loading.

  • 39 percent of visitors won’t return if your images or videos don’t load properly, as research by SAG IPL shows.
  • 45 percent of respondents won’t buy from a retailer if the website takes too long to load, according to research by Unbounce.

In short, with much competition out there, you’ll lose leads if your website takes too long to load or it doesn’t load properly at all.

Next, let’s think about what impact these lost leads have on your metrics.

According to Google, bounce rate increases by 32 percent when loading time slows from 1-3 seconds, and to make matters worse, poor loading time affects your SEO ranking. Delays in page loading time can cut page views by 11 percent, which tells Google your page isn’t offering value.

Think about it this way: If your website doesn’t impress visitors, they won’t shop with you. They won’t recommend you to their friends. In time, this leads to a lower search ranking, less visitors, and reduced conversion rates overall.

What can we take from all this? Well, too many HTTP requests directly affect your key metrics and your marketability online.

How to Identify Unnecessary HTTP Requests

OK, we’re clear on how HTTP requests work and why you need less of them. How do you identify these excess requests, though? By doing two things: identifying how many requests you’re dealing with, and grading your website performance.

Establish the Number of HTTP Requests Your Website Receives

You can’t eliminate HTTP requests until you know how many your website receives. Luckily, there are tools available to help you identify the number.

For example, HubSpot’s Website Grader give you a free website “health check” so you can instantly see how many requests you’re receiving:

Make Fewer HTTP Requests - Website Grader HubSpot

If you use Chrome, you can also use Chrome’s DevTools to identify the number of HTTP requests. Simply right-click the page you want to check, click “Inspect,” then click the “Network” option. The image you’ll see looks something like this:

Make Fewer HTTP Requests - Chrome’s DevTools

This page receives 112 requests.

Grade Your Website Performance

When was the last time you assessed your website’s performance and, most importantly, page loading time? If you can’t remember, now’s a great time to run an audit.

You can try Ubersuggest for this. It’s really simple to use. Simply open Ubersuggest, type in your URL, and click “Site Audit” from the sidebar when the search results finish loading.

Once you’ve clicked “Site Audit,” you’ll see an overview of your website’s speed. It’ll look something like this:

Make Fewer HTTP Requests -Site Audit with Ubersuggest

A low score indicates you’re suffering from poor loading times. For example, if your mobile website takes 6 seconds to load, but your desktop site loads in 2 seconds, there’s a problem with your mobile site, and so on.

Don’t worry if you’re unhappy with your page loading times or the number of HTTP requests you’re seeing. Now you know there’s a problem, you can begin streamlining those HTTP requests and ensure your page loads as quickly as possible. Let’s look at how to do just that.

8 Steps to Make Fewer HTTP Requests

Although every website is unique, we can usually blame excessive HTTP requests on a few common problems. With this in mind, here are eight simple steps you can take right now to reduce the number of requests passing through your website.

1. Remove Unnecessary Plug-Ins

Plug-ins are great. They add new functionality to your website and make your web pages more engaging. However, too many plug-ins clutter your page and hold up loading times. While there’s no “right” number of plug-ins, a good rule of thumb is to keep them minimal.

First, identify which plug-ins you use. Do they add value to your website? If the answer’s no, they can go. If it’s a plug-in you only use now and then, you can always reinstall it when it’s required then delete it again.

Not sure how to identify your plug-ins? Reach out to me and see how I can help you better understand your website’s performance.

2. Replace Heavy Plug-Ins With Streamlined Ones

OK, so you can’t remove every plug-in. However, if you want to make fewer HTTP requests, you can often replace resource-heavy plug-ins with more streamlined options.

For example, maybe you want to add social media buttons to your page. Great. Social media shares can increase engagement and boost your exposure. However, the plug-ins can be resource-intensive.

To streamline your social media plug-ins, use tools like Novashare. This tool won’t slow your page down, but it will help you reduce the HTTP requests generated by your social sharing plug-ins:

Steps to Make Fewer HTTP Requests - Replace Heavy Plug-Ins With Streamlined Ones

3. Remove Images You Do Not Need

Sure, images can improve your website’s visual appeal and boost the user experience. Unless the image helps your reader understand your content in some way, or it’s a highly useful piece of content in its own right like an infographic, it might be worth deleting it.

Remember, every image creates an HTTP request. While those fun GIFs might have visual appeal, they won’t impress your audience if they affect load time.

Audit every individual web page and don’t be afraid to get a little ruthless. If the image doesn’t add value to your content, delete it.

4. Reduce the File Size for Remaining Images

Once you’ve deleted the unnecessary images, you need to optimize the ones you plan on keeping. In this context, “optimizing” doesn’t mean using alt text or keywords, although you should optimize for SEO, too.

Instead, what I mean is compressing each image. Compression preserves the image quality while reducing the overall file size, which improves load time.

If you don’t have access to image editing tools like Adobe, try free tools like Squoosh instead. You can tinker with the image to find the perfect balance between file size (which should be less than 1 MB, ideally) and image quality:

Steps to Make Fewer HTTP Requests - Reduce the File Size for Remaining Images

5. Drop Unnecessary Videos

Just like not every image adds value to your content, some videos detract from the user experience and increase the page loading time.

To be honest, this tip’s really simple. Just like you should cull any images or plug-ins you don’t need, limit how many videos you’re playing on any webpage.

How do you know which videos to delete? Well, there’s no rule here. However, if it doesn’t educate your audience or add value in some way, cut it or replace it with a shorter, comparable video.

6. Enable Lazy Load

“Lazy loading” means an image or video won’t load until the user begins scrolling down your webpage. How does this reduce HTTP requests?

Since the media doesn’t load right away, it won’t trigger an HTTP request for the initial page load. It doesn’t affect the user experience either, since users won’t know the difference between a regular or lazy load. All they’ll know is that the images or videos are viewable once they scroll down.

To enable lazy load, try out plug-ins like the aptly-named LazyLoad. The script takes up less than 10 KB of space, so it’s not resource-intensive. Just install the plug-in and it gets to work immediately:

Steps to Make Fewer HTTP Requests -Enable Lazy Load

7. Use Content Caching

Caching is a great way to reduce HTTP requests.

Essentially, caching means a visitor’s browser stores copies of the scripts it used to display your webpage, rather than delete them all. When the visitor returns, there’s no need to make all those HTTP requests again, because the scripts they need are already stored in the browser unless they clear their cache.

Let me give you some tips for priming your website for content caching.

  • Don’t use cookies unless they’re essential.
  • Always use the same URL if you serve the content across different pages.
  • Build up a library of images and videos and reuse them.
  • Try out free tools like REDbot to assess your website’s cacheability.
Steps to Make Fewer HTTP Requests - Use Content Caching

8. Reduce Third-Party Requests

If a visitor’s browser needs to request or download data from a third party to display a website properly, like YouTube or Google Analytics, it’s called a third-party request. The issue? How long your page takes to load depends on how quickly the third-party server responds.

This is a huge problem because you’re not in control of your page loading time. To take back control, think about lazy loading third-party content like embedded YouTube videos. You could also try hosting scripts for necessary programs like Google Analytics locally rather than externally.

Finally, if a plug-in you use makes its own third-party requests, switch it for another plug-in where possible.

How to Make Fewer HTTP Requests

  1. Remove Unnecessary Plug-Ins

    Figure out which plug-ins are installed and remove those that you don’t use.

  2. Replace Heavy Plug-Ins With Streamlined Ones

    Audit the plug-ins you keep and replace them with more efficient ones if they’re available.

  3. Remove Unnecessary Images

    Delete images that don’t add value since each one creates an HTTP request.

  4. Reduce the File Size for Remaining Images

    Compress the images you keep to reduce load time.

  5. Drop Unnecessary Videos

    Only keep videos that add value to your page.

  6. Enable Lazy Load

    Use a plug-in that allows images and videos to load once a user scrolls.

  7. Use Content Caching

    To prepare your site for content caching avoid using cookies; use the same URL for content used on different pages; build an image library and re-use them; and audit your site’s ability to be cached.

  8. Reduce Third-Party Requests

    Try not to include content that pulls from a third party, like YouTube, since your page load time depends on theirs. You should also replace plug-ins that rely on third-party requests.

Conclusion

HTTP requests are essential to displaying a website and giving your audience an engaging experience. However, too many HTTP requests can disrupt your website performance and deter would-be customers from doing business with you.

The good news? With a few simple tweaks, you can ensure browsers make fewer HTTP requests to your website. You can boost page loading time, improve a webpage’s visual appeal, and, ultimately, increase conversions in the long run.

If you’re not sure where to get started with improving your website’s performance, check out my consulting services and we’ll see how I can help.

Have you tried reducing the number of HTTP requests on your website? Which strategies are working for you?

See How My Agency Can Drive Massive Amounts of Traffic to Your Website

  • SEO – unlock massive amounts of SEO traffic. See real results.
  • Content Marketing – our team creates epic content that will get shared, get links, and attract traffic.
  • Paid Media – effective paid strategies with clear ROI.

Book a Call

Neilpatel.com

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

SEO

Leverage Search Intent & Boost Your Visibility With These Expert SEO Strategies

Published

on

By

Leverage Search Intent & Boost Your Visibility With These Expert SEO Strategies

Struggling to rank for your target keywords? You’re not alone.

The SEO landscape is more complex than ever, with search intent evolving and SERP features constantly changing.

So, how do you make sure your content aligns with Google’s evolving expectations?

Check out our webinar on September 25, 2024: “Navigating SERP Complexity: How to Leverage Search Intent for SEO.”

Tom Capper of STAT will discuss the role of search intent in SEO and how to use it to climb in the right SERPs for your brand.

Why This Webinar Is A Must-Attend Event

Ranking isn’t just about keywords anymore—it’s about understanding the intent behind each search.

We’ll cover:

  1. How intent is nuanced, and many keywords can support multiple intents.
  2. Why the same keyword can have a different intent depending where it was searched from, and on what device.
  3. The differences in SERP features depending on intent, and how this impacts your content strategy.

Expert Insights From Tom Capper

Leading this session is Tom Capper from STAT Search Analytics. 

Capper will dive deep into searcher motivations using first-party research data and provide actionable insights to help you improve your site’s organic visibility.

Reserve your spot and find out more about how these insights can impact your ranking.

Who Should Attend?

This webinar is perfect for:

  • SEO professionals looking to take their strategies to the next level
  • Content managers and strategists wanting to increase the effectiveness of their work
  • Enterprise professionals and digital marketers looking to blend branding, marketing, and SEO for a unified customer experience
  • Anyone interested in search results and consumer behavior

Live Q&A: Get Your Questions Answered

Following the presentation, Tom will host a live Q&A session. 

This is your chance to clarify misconceptions surrounding the intersection of content, search intent, and the SERPs and get expert advice on optimizing your strategies.

Don’t Miss Out!

Understanding search intent is critical to staying competitive in SEO. Reserve your spot today to ensure you’re not left behind.

Can’t attend live? Sign up anyway for the recording.

Get ready to unlock new SEO opportunities and boost your rankings. See you there!

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

How to Manage Local SEO for Businesses with Multiple Locations

Published

on

How to Optimize Local SEO for Multiple Locations

As your business grows, the idea of expanding to multiple locations and tapping into new markets eventually becomes a possibility. And getting to this point can be exciting for business owners– but it’s also a complex process that involves the application of different strategies, especially when it comes to your SEO.

Managing SEO for multiple locations is tricky. You will want each location to show up in local searches and catch the attention of potential customers in its specific area. And this is where optimizing local SEO for multiple locations comes into play.

Understanding the Importance of Multi-Location SEO

Beyond brand consistency and quality products and/or services (which are always important), you have to consider how your new business branches can be found by an increasingly digital consumer market. 

As an SEO expert, I’ve seen firsthand how important a well-crafted multi-location SEO strategy is for businesses, becoming the key to making sure that each location can attract local customers through organic search. 

Multi-location SEO is more than just search engine ranking improvements. It is about connecting with local audiences on a deeper level – ensuring that your business is visible to potential customers exactly when they are searching for services or products in their area. 

  • Improve local search visibility. Optimizing each business location individually with relevant keywords can guarantee that your stores appear at the top of local search results – making it easier for potential customers in specific areas to find and visit your locations.
  • Target qualified local audiences. Customizing multi-location SEO strategies to meet the specific needs and search behaviors of local customers can help businesses attract highly relevant and engaged customers, which may then lead to higher engagement and better conversion rates.
  • Improved search rankings. Earning backlinks from local websites enhances the authority and relevance of each location, boosting your search engine rankings. 
  • Competitive advantage. A well-optimized multi-location SEO strategy sets your business apart from your competitors who may not be as focused on local SEO, giving you an edge in attracting local customers. 
  • More in-store foot traffic. Increased local visibility translates to more people discovering your business’ physical locations, driving more foot traffic, which eventually convert into more sales. 

Create Separate Pages for Each Location

Instead of putting together and stuffing all the necessary information of your business onto a single page, separate pages allow you to highlight specific details unique to each location – from local addresses, contact information, down to the services and offerings available at each site.

While creating separate pages, it is important to:

  • Ensure that all these pages are hosted on a single domain to consolidate your SEO efforts and boost rankings as a whole.
  • Embed a Google Map for each location to enhance local visibility, user convenience, and relevance for local searches. 
  • Target geotagged keywords and mention the specific city or area on each page to establish your business’ presence across multiple locations. 
  • Include complete contact details and create location-specific content to help each location rank well in search results and drive more local traffic and engagement.
  • Make sure that each of the pages have unique, optimized content, and not identical copies. Avoid simply changing just the city and state names on each page to prevent duplicate content penalties, and ensure a more targeted user experience. 
  • Add photos and videos to give users a better feel for each location.

Precise and localized information for each of the pages you will be creating for multiple business locations can help potential customers quickly find what they need, creating a richer and more engaging user experience. This shall improve your chances of ranking highly in search results as well. 

Optimize Google My Business Listings

Each location of your business should have their own Google Business Profiles complete with accurate details – from address details, business hours, contact information, to the correct website URLs for specific business locations. This helps control how your business is displayed on both Google and Google Maps.

By the time you have created variations of GMB profiles customized to each business location, optimizing each of them follows. This involves uploading high-quality photos and videos, creating posts and publishing updates consistently, and managing and responding to reviews actively. 

Of course, it is important that you encourage satisfied customers to leave reviews – and respond to it. This not only resolves issues, but builds trust among users too. It can even help boost local rankings significantly. 

Keeping Google My Business listings detailed, up-to-date, and packed with positive reviews, you promote your business not only for potential customers to find and choose you, but also signals Google that each location is active and trustworthy – which further leads to higher visibility and more exposure in the search results. 

Ensure Consistency in NAP Across All Listings

Consistency is key—ensure your business name, address, and phone number (NAP)  are uniform across all listings. With same business names, it may signal Google that these locations belong to the same business, while the address and phone number will let them know they are simply different branches.

The more accurate your information is across the web, the higher Google’s trust in its accuracy, making it more likely for you to earn a spot in the search results. 

Create Local Business Schema

Local business schema, a type of structured data markup, is a powerful strategy for optimizing local SEO, particularly for businesses with multiple locations. Schema markup is a further addition to your location pages that allows you to describe your business more accurately to search engines as you provide them with detailed information. 

This makes it easier for search engines to understand and display your business in relevant search results. 

Gather Customer Reviews

Reviews are successful indicators of effective business strategies, providing potential customers with genuine, unbiased insights into your business. They influence customer perceptions while playing a role in how Google ranks your business in local search results. Reviews are also great social proof because people generally trust what other customers have to say about your business more than the information that we provide on the listings.

It is then important that you make review collection part of your business practices in optimizing local SEO for multiple locations by encouraging satisfied customers to provide feedback, not just on your GMB profiles, but to other review platforms too.

How to Get Positive Customer Reviews

Getting positive feedback from customers may be tricky, but it is an effective strategy for boosting both your business’ reputation and local SEO performance. Reviews like these will ensure that you stand out in local search results while attracting a steady stream of new customers.

  1. Ask for reviews, especially right after a positive experience. Do not hesitate to ask satisfied customers to leave reviews by asking them directly after a purchase or service. 
  2. Let customers know how easy leaving reviews is. Simplify the review process by providing direct links to your Google My Business, and other review sites that your business is in. QR codes on thank you pages, receipts, or in-store displays can also be effective.
  3. Respond to reviews. May they be positive or negative customer feedback, make sure to respond professionally. This will show that you value their insights and opinions as much, and may even establish relationships with them. When these customers see that you are taking the time to interact with them, they will feel valued and appreciated.
  4. Highlight positive reviews on your website. Showcase the customer reviews on your website, especially for each location. This can further boost your local SEO, and may even encourage other satisfied customers to share their experiences as well.

How to Deal with Negative Reviews

Negative reviews cannot be avoided. Yes, they can be challenging, but they also present opportunities to make improvements on your business, and even demonstrate responsiveness to customer feedback. 

  1. Reply to negative reviews as quickly as possible. Engaging promptly demonstrates a proactive approach to customer feedback and highlights your commitment to resolving issues. This also plays a key role in preserving the reputation of your business, fostering trust with your customers, and signals to search engines that your business values and prioritizes customer relations.
  2. Maintain professionalism. Always respond to customer feedback in a calm, polite, and professional manner, regardless of the tone of the review. Avoid becoming defensive or confrontational, since it may discourage potential customers. Then, from here, address the issue raised by thinking and providing a solution.
  3. Acknowledge the issue. Always begin your response by acknowledging and recognizing the customer’s concern, and expressing genuine empathy. This helps validate their feelings and show them that you actually mind. Do not forget to offer a sincere apology for any inconvenience or difficulty they have encountered as well, regardless of who was at fault.
  4. Encourage positive reviews. Even with negative reviews, continue to encourage satisfied customers to share their positive experiences. Increasing the volume of this positive feedback can help in enhancing your overall rating. And the more positive reviews you get, the less impact any individual negative review will have.

Collect as many testimonials as you can, and respond to both positive and negative ones. Actively doing so shows that you value customer feedback, and are committed to excellent service – further strengthening your local SEO efforts too.

Earn Backlinks from Local Websites

Link building remains to be an important strategy for optimizing local SEO across multiple locations. Backlinks act as endorsements from reputable sources that boost business’ visibility, relevance, and authority in local search results – all of which are important ranking factors. 

Focus on getting listed in local directories and citations. Create listings for each business location, keeping each information complete and accurate, to help establish your local presence within the area. You may also reach out to local bloggers for guest posting opportunities, sponsor community events, or engage with local publications by sharing newsworthy updates about your business. 

Backlinks from local websites drive targeted traffic from potential customers who are geographically close to your locations, increasing the chances of conversions. This local relevance is particularly important for businesses in multiple locations, as it ensures each site gains visibility in its respective area. 

Link Your Social Media

Aside from separate web pages, your different business locations also need their own social media profiles. Actively maintaining these pages can boost local SEO through location-specific content, engagement with local audiences. These profiles will also enable you to run location-targeted ads to reach potential customers in each area. Once you have this set up, remember to link your social profiles to your location pages to increase relevance.

Look at Local Competition

Want to know what’s working? Look at the top-ranking businesses in your area. Use tools like SE Ranking, Woorank, and the like to see what strategies they’re using to rank well in local search. This should give you things like content ideas, backlink profiles, citations, reviews, and other opportunities you can apply to your own location pages.

Key Takeaway

Optimizing local SEO for multiple locations really takes a lot of work – a demanding but rewarding process. If we take this approach with these strategies, it will not only ensure that each location ranks well in the appropriate searches but also build a strong digital footprint for your business. The result is a stronger connection with local customers, increased foot traffic, and ultimately, greater business success.

Implementing this multi-location SEO strategy may actually sound like a tricky approach to expand your customer base and drive growth to your business in the online market. But with these strategies that I have laid out, you can tailor your SEO efforts to suit the multiple locations of your business without spreading your resources too thin.

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

9 HTML Tags (& 11 Attributes) You Must Know for SEO

Published

on

By

9 HTML Tags (& 11 Attributes) You Must Know for SEO

HTML is a markup language that forms the basis of most webpages.

It is arguably one of the most fundamental parts of technical SEO.

Using HTML elements, SEO professionals are able to communicate information about the page to users and search bots.

This can help to clarify the importance, nature, and order of content on a page, as well as its relationship to other webpages.

What Are HTML Attributes?

Attributes are additional information added to HTML elements. They sit within the element, such as:

They are values that are used to modify the element, giving additional context about it.

In the case of the HTML tag above, the attribute, rel=”canonical” modifies the link tag to say to the search bots that this URL should be considered the canonical of a set.

Format Of HTML Attributes

HTML attributes consist of a name and a value.

For example, when defining an image, the name “src” is used and the value is the file name of the image. The “alt” attribute specifies an alternative text to show if the image cannot be displayed.


Types Of HTML Attributes

Attributes are usually classified in four ways; required, optional, standard or event.

Required attributes are ones where their absence from a tag means that tag would not function correctly.

Optional ones are, as the name suggests, not required for the tag to work but can be used to specify additional information or behaviour for that tag.

There are attributes that can be used with most HTML elements, and some that are very specific.

For example, the “style” attribute can be used to define the look of an element like the colour or font size. These universal attributes are known as “standard” or “global” attributes.

There are other attributes that can only be used with certain elements. Commonly, ones that are used for SEO will modify a link tag. These are elements like “rel” and “hreflang.”

Event attributes are added to an element to define how that element should behave in response to certain actions like a user mousing over a button. These attributes define how a function should be executed.

For example, an “onclick” attribute would define what a JavaScript function should do when a user clicks a button. These attributes allow developers to create more interactive pages from HTML tags.

Why HTML Attributes Are Important

HTML attributes are important because they allow developers to add additional context and functionality to websites.

They are particularly important for SEO because they give much-needed context to tags. They are critical in how we guide the search bots in crawling and serving webpages.

Attributes allow us to easily prevent the following of certain links, or denote which pages in a set should be served to users in different countries or using other languages.

They allow us to easily signify that a page should not be indexed. A lot of the fundamental elements of technical SEO are actually controlled through HTML attributes.

Common Attributes Used In SEO

1. Name Attribute

The name attribute is used with the tag.

It is essentially a way of specifying to any bots that may visit the page if the following information applies to them or not.

For example, including means that all bots should take notice of the “noindex” directive.

You will often hear this called the “meta robots tag.”

If the following were used , only Google’s bot would need to take notice of the “noindex” directive.

This is a good way of giving commands to some search bots that are not needed for all.

2. Noindex Attribute

The “noindex” attribute is one commonly used in SEO.

You will often hear it being called the “noindex tag,” but more accurately, it is an attribute of the tag.

It’s formulated:

This piece of code allows publishers to determine what content can be included in a search engine’s index.

By adding the “noindex” attribute, you are essentially telling a search engine it may not use this page within its index.

This is useful if there is sensitive content you want to not be available from an organic search. For instance, if you have areas on your site that should only be accessible to paid members, allowing this content into the search indices could make it accessible without logging in.

The “noindex” directive needs to be read to be followed. That is, the search bots need to be able to access the page to read the HTML code that contains the directive.

As such, be careful not to block the robots from accessing the page in the robots.txt.

3. Description Attribute

The description attribute, better known as the “meta description,” is used with the tag.

The content of this tag is used in the SERPs underneath the content of the

tag.</p> <div id="attachment_389505" style="width: 1327px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-389505 size-full" src="https://articles.entireweb.com/wp-content/uploads/2024/09/9-HTML-Tags-11-Attributes-You-Must-Know-for.jpg" alt="Example of meta description attribute in the SERPs" width="1317" height="249" loading="lazy" title="9 HTML Tags (& 11 Attributes) You Must Know for SEO"><span class="wp-caption-text">Screenshot from author, August 2024</span></div> <p>It allows publishers to summarise the content on the page in a way that will help searchers determine if the page meets their needs.</p> <p>This does not affect the rankings of a page but can help encourage clicks through to the page from the SERPs.</p> <p>It is important to realize that in many instances, Google will ignore the content of the description attribute in favor of using its own description in the SERPs.</p> <p data-pm-slice="1 1 []">You can read more here about <a href="https://www.searchenginejournal.com/on-page-seo/optimize-meta-description/" class="ProsemirrorEditor-link" target="_blank" rel="noopener">how to optimize your description attributes</a>.</p> <h3>4. Href Attribute</h3> <p>As SEO professionals, we spend a lot of time chasing links.</p> <p>But do you know how a link is structured and, therefore, why some links are perceived to be worth more than others?</p> <p>A standard hyperlink is essentially an <a> tag.</a></p> <p>Its format is as follows:</p> <pre><a href="www.example.com">anchor text of link goes here</a>.</pre> <p>The <a> tag indicates it is a link.</a></p> <p>The href= attribute dictates the destination of the link (i.e., what page it is linking to).</p> <p>The text that sits between the opening <a> tag and the closing </a> tag is the anchor text.</p> <p>This is the text that a user will see on the page that looks clickable.</p> <p>This is used for clickable links that will appear in the </p> <p> of the page.

The tag is used to link a resource to another and appears in the

of the page.

These links are not hyperlinks, they are not clickable. They show the relationship between web documents.

5. Rel=”nofollow”, rel=”ugc” And rel=”sponsored attributes”

The rel=”nofollow” attribute tells bots that the URL within the href attribute is not one that can be followed by them.

Using the rel=”nofollow” attribute will not affect a human user’s ability to click on the link and be taken to another page. It only affects bots.

This is used within SEO to prevent search engines from visiting a page or from ascribing any benefit of one page linking to another.

This arguably renders a link useless from the traditional SEO link-building perspective, as link equity will not pass through the link.

There are arguments to say that it is still a beneficial link if it causes visitors to view the linked-to page, of course!

Publishers can use the “nofollow” attribute to help search engines determine when a linked-to page is the result of payment, such as an advert.

This can help prevent issues with link penalties, as the publisher is admitting that the link is the result of a legitimate deal and not an attempt to manipulate the rankings.

The rel=”nofollow” attribute can be used on an individual link basis like the following:

anchor text of link goes here

Or it can be used to render all links on a page as “nofollow” by using it in the

like a “noindex” attribute is used:

You can read more here about when to use the rel=”nofollow” attribute.

6. How Google Uses The Rel=”nofollow” Attribute

In 2019, Google announced some changes to the way it used the “nofollow” attribute.

This included introducing some additional attributes that could be used instead of the “nofollow” to better express the relationship of the link to its target page.

These newer attributes are the rel=”ugc” and rel=”sponsored.”

They are to be used to help Google understand when a publisher wishes for the target page to be discounted for ranking signal purposes.

The rel=”sponsored” attribute is to identify when a link is the result of a paid deal such as an advert or sponsorship. The rel=”ugc” attribute is to identify when a link has been added through user-generated content (UGC) such as a forum.

Google announced that these and the “nofollow” attribute would only be treated as hints.

Whereas previously, the “nofollow” attribute would result in Googlebot ignoring the specified link, it now takes that hint under advisement but may still treat it as if the “nofollow” is not present.

Read more here about this announcement and how it changes the implementation of the rel=”nofollow” attribute.

7. Hreflang Attribute

The purpose of the hreflang attribute is to help publishers whose sites show the same content in multiple languages.

It directs the search engines as to which version of the page should be shown to users so they can read it in their preferred language.

The hreflang attribute is used with the tag. This attribute specifies the language of the content on the URL linked to.

It’s used within the

of the page and is formatted as follows:

It’s broken down into several parts:

  • The rel=”alternate,” which suggests the page has an alternative page relevant to it.
  • The href= attribute denotes which URL is being linked to.
  • The language code is a two-letter designation to tell the search bots what language the linked page is written in. The two letters are taken from a standardized list known as the ISO 639-1 codes

The hreflang attribute can also be used in the HTTP header for documents that aren’t in HTML (like a PDF) or in the website’s XML sitemap.

Read more here about using the hreflang attribute correctly.

8. Canonical Attribute

The rel=”canonical” attribute of the link tag enables SEO professionals to specify which other page on a website or another domain should be counted as the canonical.

A page being the canonical essentially means it is the main page, of which others may be copies.

For search engine purposes, this is an indication of the page a publisher wants to be considered the main one to be ranked, the copies should not be ranked.

The canonical attribute looks like this:

The code should sit in the

of the page. The web page stated after the “href=” should be the page you want the search bots to consider the canonical page.

This tag is useful in situations where two or more pages may have identical or near-identical content on them.

9. Uses Of The Canonical Attribute

The website might be set up in such a way that this is useful for users, such as a product listing page on an ecommerce site.

For instance, the main category page for a set of products, such as “shoes”, may have copy, headers, and a page title that have been written about “shoes.”

If a user were to click on a filter to show only brown, size 8 shoes, the URL might change but the copy, headers, and page title might remain the same as the “shoes” page.

This would result in two pages that are identical apart from the list of products that are shown.

In this instance, the website owner might wish to put a canonical tag on the “brown, size 8 shoes” page pointing to the “shoes” page.

This would help the search engines to understand that the “brown, size 8 shoes” page does not need to be ranked, whereas the “shoes” page is the more important of the two and should be ranked.

Issues With The Canonical Attribute

It’s important to realize that the search engines only use the canonical attribute as a guide, it is not something that has to be followed.

There are many instances where the canonical attribute is ignored and another page selected as the canonical of the set.

Read more about how to use the canonical attribute correctly.

10. Src Attribute

The src= attribute is used to reference the location of the image that is being displayed on the page.

If the image is located on the same domain as the container it will appear in, a relative URL (just the end part of the URL, not the domain) can be used.

If the image is to be pulled from another website, the absolute (whole) URL needs to be used.

Although this attribute doesn’t serve any SEO purpose as such, it is needed for the image tag to work.

11. Alt Attribute

The above image tag example also contains a second attribute, the alt= attribute.

This attribute is used to specify what alternate text should be shown if the image can’t be rendered.

The alt= attribute is a required element of the tag, it has to be present, but can be left blank if no alternative text is wanted.

There is some benefit to considering the use of keywords within an image alt= attribute. Search engines cannot determine with precision what an image is of.

Great strides have been made in the major search engines’ ability to identify what is in a picture. However, that technology is far from perfect.

As such, search engines will use the text in the alt= attribute to better understand what the image is of.

Use language that helps to reinforce the image’s relevance to the topic the page is about.

This can aid the search engines in identifying the relevance of that page for search queries.

It is crucial to remember that this is not the primary reason for the alt= attribute.

This text is used by screen readers and assistive technology to enable those who use this technology to understand the contents of the image.

The alt= attribute should be considered first and foremost to make websites accessible to those using this technology. This should not be sacrificed for SEO purposes.

Read more about how to optimize images.

The More You Know About How Webpages Are Constructed, The Better

This guide is an introduction to the core HTML tag attributes you may hear about in SEO.

There are many more that go into making a functioning, crawlable, and indexable webpage, however.

The crossover between SEO and development skill sets is vast.

As an SEO professional, the more you know about how webpages are constructed, the better.

If you want to learn more about HTML and the tag attributes that are available with it, you might enjoy a resource like W3Schools.

More resources: 


Featured Image: BestForBest/Shutterstock

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

Trending