in

5 HTML Tricks And Tips For Beginners in 2022

htnl tips

Here are 5 HTML tips and tricks for newbies. If you’re just starting out with building your Web pages in 2022, these techniques should be very useful to you remember and note these tricks for later!

1. Lazy loading of your page

lazy loading your image can help boost your site performance and responsiveness

the image is loaded when the user scrolls and the image becomes visible otherwise, it is not loaded.

2. Input suggestions

getting useful and relevant suggestions when you are trying to search for something is really helpful.

HTML allows you to show a set of pre-defined suggestions as well, using the
tag.

3. Picture tag

allows you to add multiple images fitting different widths instead of having a single 1 scale up and down.

More informative content is available on our site visit now

4. Base URL

This tag comes in handy when you have a lot of anchor tags redirecting to a certain URL and all the URLs start with the same base address.

the tag must have either “href” or a target attribute present.

5. Document refresher

this will redirect the user to the provided URL that is “https://google.com” in 4 seconds and then set to 0 for an immediate effect you can use when you have to redirect a page to a different URL.

If you find it useful please share it and if you have any feedback, let me know in the comment.

Leave a Reply

Your email address will not be published.

GIPHY App Key not set. Please check settings