Work Like A Pro With These 5 HTML Hacks

Images

SVG

Figure And Figcaption

Don’t do this

Do this

Forms

For Clickable Label

Form Validations

Video

  • Add video in the ratio to ignore cropping issues.
  • If you want your video autoplay, then make it mute first. Because of browser policy, if the user will not interact with the document, the video will not allow autoplay with volume. If you want volume, then you can provide a button for volume.
  • On iPhone, to play video inline, you can add the “playsinline” attribute to the video tag.

HTML

CSS

Meta Tags

Viewport

Link Tags

Prefetch

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
ZealousWeb

ZealousWeb

We Fuel Notions that grow! We know Web, We know your industry and we’re here to help you.