How to open Gmail on click of anchor tag in HTML

In this blog, you will learn how to open Gmail with the click of the anchor tag, beginners mostly used mailto in href to open mail on outlook but when you want to open mail to google there is different syntax let's see the following code:

HTML Code:

<a href="https://mail.google.com/mail/?view=cm&fs=1&[email protected]">[email protected]</a>

In this above code replace the [email protected] id with your Gmail id.

Categories: web designing html

Trending Courses

CodeIgniter

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Advance Digital Marketing

Regular : 6 Months

Fastrack : 3 Months

Crash : 2 Months

React JS

Regular : 45 Days

Fastrack : 25 Days

Crash : 15 Days

Laravel

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Front End Developer

Regular : 6 Months

Fastrack : 4 Months

Crash : 2 Months

Request For Demo