You do not yet know the true power of HTML

πŸ§΅πŸ‘‡πŸ»
You can do a lot of cool things using HTML only Sometimes HTML is enough

In this thread I will try to cover some amazing tags, atrributes, tips and tricks of HTML

Let's start

{ 2 / 10 }
1️⃣ Make your image clickable

The <map> tag is used to define an image map. An image map is an image with clickable areas.

You can use it with the <area> tag and coords attribute

Learn more about it here πŸ‘‡πŸ»

w3schools.com/tags/tryit.asp…

{ 3 / 10 }
2️⃣ Responsive Images

Responsive web pages is in trend as there is rapid growing of mobile devices.

You can achieve responsive design using various methods but do you know images can be toggled for different screen sizes with markup.

{ 4 / 10 }
You can use <picture> element for that. It gives web developers more flexibility in specifying image resources.

The <picture> element contains two tags: one or more <source> tags and one <img> tag.

You can pass different screen size in media attribute of source tag

{ 5 / 10 }
3️⃣ Use anchor tag like a pro

Wait! I'm not gonna cover mailto or tel here because this are pretty basic one.

But do you know you can create a link for skype chat or call😍

{ 6 / 10 }
4️⃣ Regular expression

You can use "pattern" attribute in order to specifies the regular expression

For example, User can only enter password that must contain 8 or more characters that are of at least one number, and one uppercase and lowercase letter

{ 7 / 10 }
5️⃣ Custom attribute

Do you know HTML allow us to create our custom attribute as well so that we can store some data associated with it

The data-* attribute

{ 8 / 10 }
This data then can be used to in JavaScript in order to perform some complex operations

For example πŸ‘‡πŸ»

{ 9 / 10 }
Did I miss something? Feel free to add more awesome things about HTML πŸ’–

{ 10 / 10 }

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Pratham πŸ‘¨β€πŸ’»πŸš€

Pratham πŸ‘¨β€πŸ’»πŸš€ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Prathkum

13 Mar
I've brought 8 GitHub repositories for web developers

THREAD πŸ§΅πŸ‘‡πŸ»
1️⃣ Awesome Desing Tools

- A huge list of best design tools and plugins for everything

github.com/goabstract/Awe… Image
2️⃣ Awesome Cheatsheets

- Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file. Not only for front-end developersπŸ˜‰

github.com/LeCoupa/awesom… Image
Read 9 tweets
11 Mar
A curated list of useful web development tools in 2021

πŸ§΅πŸ‘‡πŸ»
1. Regular expressions

- Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript

regex101.com
2. Remove BG

- Remove image background automatically and 100% free

remove.bg
Read 10 tweets
11 Mar
Happy Maha Shivaratri everyone✨

Maha Shivaratri is aΒ Indian festivalΒ celebrated annually in honour of the godΒ Shiva
Shiva is known as "The Destroyer" within the Trimurti, the Hindu trinity that includes Brahma and Vishnu.

Generator - Brahma
Operator - Vishnu
Destroyer - Mahesh(Shiva)
Maha Shivaratri is the night when Shiva performs the heavenly dance of creation, preservation and destruction

Let's do this chanting of hymns and joins this cosmic dance and remembers Shiva's presence everywhere πŸ™
Read 7 tweets
10 Mar
Get design inspiration for your next project from here

🧡 πŸ‘‡πŸ»
πŸ”Ή Dribbble

- Dribbble is where designers gain inspiration, feedback, community, and jobs and is your best resource to discover and connect with designers worldwide.

dribbble.com
πŸ”Έ Behance

- Behance is the world's largest creative network for showcasing and discovering creative work.

behance.net
Read 16 tweets
10 Mar
Free website templates that you can use for your next project

πŸ§΅πŸ‘‡πŸ»
1. Nice page

- Modern web technologies used in web templates, including HTML CSS JavaScript, and bootstrap

nicepage.com/html-templates
2. W3.CSS

- Originally developed by w3 schools which are fully responsive

w3schools.com/w3css/w3css_te…
Read 11 tweets
10 Mar
A tooltip is used to specify the extra bit of infomation typically when user moves the mouse over it

Tooltips guide your visitors to take action and hence provides extra layer of guidance without any difficulties

Let's see how we can create this πŸ§΅πŸ‘‡πŸ»
We just need to create an element that we will be visible only when user moves the mouse pointer over an elment

Let's start with the HTML structure
πŸ“Œ Popup text

- Add some width and padding

- Hide the popup element throughout and show it only on hover

- Place it above the element

- Add little transition for smooth rendering
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!