Ghost
Sign in Subscribe

HTML

A collection of 5 posts
HTML

Tip #30: Make your external links secure with the rel attribute

Did you know that your a carry inherit security risks? It's kinda weird but it's true, a naked a tag that doesn't define a rel attribute is considered "unsecure" by the Google Lighthouse audit and will be flagged by crawlers as unsafe.
Feb 24, 2023 1 min read
HTML

Tip #23: Always define width and height attributes for images

When working with images on the web, it's extremely important that you define the width and height attributes on that image if you know its size before-hand.
Feb 22, 2023 1 min read
HTML

Tip #16: Use article tags correctly

The article tag is supposed to be used whenever you're linking to a blog post or some sort of content (either internal or external) somewhere on your page.
Feb 20, 2023
HTML

Tip #9: Disable image drag by setting draggable to false

Annoyed that your users can drag and save your images offsite? It's actually an intended feature of the browser (and its recommend you keep it enabled for accessibility purposes)
Feb 15, 2023 1 min read
HTML

Tip #4: Use semantic HTML tags to increase SEO

In this tip, I'll introduce you to three semantic tags you should always use on your pages: main, header, and footer.
Feb 14, 2023 1 min read
Page 1 of 1
Ghost © 2023
Powered by Ghost