About html | Sololearn: Learn to code for FREE!

+9

About html

I just wanted to make website responsive ..I mean like the button should work ... For example - If I click on a button called as contact me ..so it should open a contact me webpage .. And I don't understanding . And also how to make contact me page actually send mails to me . Please let me know how to do it . Thank you

1/6/2021 5:13:04 AM

raunak j

25 Answers

New Answer

+12

<a href = "contact.html"> <button>Contact me</button> </a>

+5

That's what you described in the question. You can also do it in the same page, by hidding a <div> containing the contact information and then display it by clicking the button.

+4

Its very easy to do that just create contact page and inside the button you need to add link Like this <button><a href="contact.html">contact</a></button> But if you wanna make more dynamic website u have to learn reactjs or Angularjs And if you wanna make website work in mobile and pc you need to learn bootstrap framework to make the website more responsive

+4

raunak j my messenger broke, I can't send anything right now

+2

You will need a back end to send mail like that.

+2

If you mean, how do u can send messages form your page to your email so first way you must have server but sometimes u can solve it without server, with google scripts https://github.com/dwyl/html-form-send-email-via-google-script-without-server

+1

Yes you need different page with name contact.html

+1

Sonic can u provide me a sample code

+1

raunak j unfortunately not but you may be able to search the web.

+1

To send Emails and messages you will also need PHP. See this: https://blog.hubspot.com/marketing/html-form-email

+1

https://code.sololearn.com/WtQPfI74Bnn7/?ref=app

+1

☠️Darth Vader☠️ cool button

+1

Kaustuv saxena Are you kidding?

+1

Because in solo learn I can't send message to you

+1

Just you need to learn HTML if your really want to make a website...

+1

<a href="contact.html"> <button>contact me </button> </a>

0

So do I need to create a different html file for contact me right ?

0

If you want to make a button clickable, you should check out the sololearn js course, where you will learn to create functions, and then you could use the onclick="" property for whatever. Also if you just want to open a weppage, you can use the <a> tag: <a href=""><button>some text</button></a> If by "contact me" you meant an email, you can also use mailto, it works like this: <a href="mailto:[email protected]">Contact me</a>

0

Jamal thank u

0

СОБАКА => Дебил / Retard Send your mail id here only