• Effects
    • Scroll Effects
    • Text Effects
    • Shadow
  • Essentials
    • Arrows
    • Buttons
    • Background Patterns
    • Border Examples
    • Cards
    • Color Palettes
    • Dividers
    • Link styles
    • Loaders
    • Modal Windows
    • Notifications
    • Progress bar
    • Quote styles
    • Spinner
    • Tooltips
  • Media
    • Calendars
    • Carousels
    • Clocks
    • Gallery
    • Music Players
    • Sliders
    • Slideshows
    • Tables
    • Thumbnails
  • Navigation
  • Inputs
    • Range Sliders
    • Checkboxes
    • Toggle Switches
  • Script
    • Angularjs
    • Backbone.js
    • bootstrap
    • jQuery
    • ReactJs
    • JavaScript
    • Syntax Highlighters
    • tryit editor
    • PHP
  • API’s
    • Facebook
    • Google
    • Indeed
    • Twitter
    • YouTube
  • Tools
w3tweaks.com
  • Effects
    • Scroll Effects
    • Text Effects
    • Shadow
  • Essentials
    • Arrows
    • Buttons
    • Background Patterns
    • Border Examples
    • Cards
    • Color Palettes
    • Dividers
    • Link styles
    • Loaders
    • Modal Windows
    • Notifications
    • Progress bar
    • Quote styles
    • Spinner
    • Tooltips
  • Media
    • Calendars
    • Carousels
    • Clocks
    • Gallery
    • Music Players
    • Sliders
    • Slideshows
    • Tables
    • Thumbnails
  • Navigation
  • Inputs
    • Range Sliders
    • Checkboxes
    • Toggle Switches
  • Script
    • Angularjs
    • Backbone.js
    • bootstrap
    • jQuery
    • ReactJs
    • JavaScript
    • Syntax Highlighters
    • tryit editor
    • PHP
  • API’s
    • Facebook
    • Google
    • Indeed
    • Twitter
    • YouTube
  • Tools
w3tweaks.com
Home HTML

6 Cool Things You Can Do With HTML

Here is some cool stuff you can do with HTML

October 25, 2022
in HTML

You might also like

Why Multi Page Form HTML is Better than Single Page Forms

The Benefits of Using Multi Step Forms in HTML

HTML media tags

HTML Group headings

6 HTML Headings Every Blogger Should Know

HTML Semantic Elements

Table of Contents

  • 1. Preload & Cache Assets
  • 2. Custom Link Previews
  • 3. Redirect To Another Link
  • 4. Make A Call Or Mail
  • 5. Add A Color Picker
  • 6. Editable Content

HTML is constantly evolving, and there are always new features being added. In this blog post, we’ll take a look at 6 of the coolest things that you can do with HTML.

01
of 06
Preload & Cache Assets

The HTML rel=”preload” attribute is used to hint to the browser that a particular resource should be preloaded and cached.

<link 
     rel="preload"
     href="https://example.com/asset.png"
     as="image" />

02
of 06
Custom Link Previews

Mystified by how link previews are generated? All it needs are the meta tags!

<meta property="og:title" content="Page title" />
<meta property="og:description" content="Page description" />
<meta property="og:image" content="https://example.com/asset.png" />

The meta tags shown above use Open Graph Protocol, you can use any meta tag generator to generate the tags for all the other platforms.

03
of 06
Redirect To Another Link

Redirecting users to other links (used after payment confirmation) is just a single line of code away!

<meta
   http-equiv="refresh"
   content="3;
   url=https://google.com/"
/>

The above code will redirect the user to Google after 3 seconds.

04
of 06
Make A Call Or Mail

Need a link to make a call or mail? a tag to the rescue!

<a href="tel: 1234567890">Call</a>
<a href="mailto:[email protected]">Mail</a>

05
of 06
Add A Color Picker

Want to add a color picker to your website? One line is all you need, no fancy libraries or even JavaScript required!

<input type="color"/>

06
of 06
Editable Content

You can make any content editable by just adding the contenteditable attribute to the element.

<p contenteditable="true">
    This is an editable paragraph
</p>
Tags: html
Previous Post

JavaScript Minimal Coding Tips

Next Post

25 JavaScript String Methods

Related Stories

Why Multi Page Form HTML is Better than Single Page Forms
HTML

Why Multi Page Form HTML is Better than Single Page Forms

February 28, 2023
The Benefits of Using Multi Step Forms in HTML
HTML

The Benefits of Using Multi Step Forms in HTML

February 15, 2023
HTML media tags
HTML

HTML media tags

February 9, 2023
HTML Group headings
HTML

HTML Group headings

November 22, 2022
HTML Headings h1 to h6
HTML

6 HTML Headings Every Blogger Should Know

November 22, 2022
HTML Semantic Elements
HTML

HTML Semantic Elements

October 27, 2022
Next Post
JavaScript String Methods

25 JavaScript String Methods

Discussion about this post

You might also like

CSS Cards

100 Creative CSS Cards

November 13, 2022
Multi step html form

44 Free Multi step HTML forms

March 7, 2023
CSS & HTML Dashboard Templates

13 Free HTML & CSS Dashboard Template Designs

December 29, 2021
49 CSS Tables

49 CSS Tables

November 13, 2019
HTML & CSS pricing tables

20 HTML & CSS pricing tables

May 2, 2020
CSS Dark Mode

14 Best CSS Dark Mode

October 13, 2021
w3tweaks

Unleash your front-end development potential by exploring the ultimate collection of UI designs and patterns, and play with them to create stunning websites through our tutorials.

Tags

Angularjs AngularJS Tutorials animation animation examples Button button hover effect Buttons Calendar calendars cards click buttons CSS css3 css buttons css calendar css calendars css effects css hover effects demo effect effects essentials forms free Free Tool hover hover animation Hover effects html inputs Javascript jquery js learn loaders menu mouse hover effects navigation php script text effects tool tutorial tutorials YouTube

Stay Connected

  • Effects
    • Scroll Effects
    • Text Effects
    • Shadow
  • Essentials
    • Arrows
    • Buttons
    • Background Patterns
    • Border Examples
    • Cards
    • Color Palettes
    • Dividers
    • Link styles
    • Loaders
    • Modal Windows
    • Notifications
    • Progress bar
    • Quote styles
    • Spinner
    • Tooltips
  • Media
    • Calendars
    • Carousels
    • Clocks
    • Gallery
    • Music Players
    • Sliders
    • Slideshows
    • Tables
    • Thumbnails
  • Navigation
  • Inputs
    • Range Sliders
    • Checkboxes
    • Toggle Switches
  • Script
    • Angularjs
    • Backbone.js
    • bootstrap
    • jQuery
    • ReactJs
    • JavaScript
    • Syntax Highlighters
    • tryit editor
    • PHP
  • API’s
    • Facebook
    • Google
    • Indeed
    • Twitter
    • YouTube
  • Tools

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
x
x