About <a href>tag in html | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

About <a href>tag in html

I wanted to create hyperlink and make it responsive .. Can I use <a href>tag in this but i don't it to be a button . Thank you

6th Jan 2021, 6:36 AM
raunak j
raunak j - avatar
10 Antworten
+ 1
You should publish your code to Sololearn and imbed it to the question
6th Jan 2021, 8:20 AM
Qwerty Uiop
Qwerty Uiop - avatar
+ 1
Responsive web design (RWD) is a web development approach that creates dynamic changes to the appearance of a website, depending on the screen size and orientation of the device being used to view it.
6th Jan 2021, 1:19 PM
Chris Coder
Chris Coder - avatar
+ 1
<a href="https://www.example.com"><button>Text</button></a> Now your hyperlink is a button. If you don't want, that a button is displayed, remove the button-tag. You can change hovering and transformating like this: <style> a { color:red; } a:hover { color:yellow; } a:visited { color:blue; } </style>
7th Jan 2021, 9:41 AM
Sebastian Ahlborn
Sebastian Ahlborn - avatar
0
<p> this text is not linked <a href="example.com"> This text is linked </a></p> If this does not answer your question, please clarify it
6th Jan 2021, 7:00 AM
Qwerty Uiop
Qwerty Uiop - avatar
0
Qwerty Uiop yes it worked but the other things like hovering and transformation is not working
6th Jan 2021, 7:26 AM
raunak j
raunak j - avatar
0
It depends on what you are trying to transform, transform does not support all css properties, an example is font style(won't transform)
6th Jan 2021, 7:47 AM
Qwerty Uiop
Qwerty Uiop - avatar
0
Qwerty Uiop can I send u my code
6th Jan 2021, 8:11 AM
raunak j
raunak j - avatar
0
Sure, that will make things much easier, in fact
6th Jan 2021, 8:12 AM
Qwerty Uiop
Qwerty Uiop - avatar
0
Qwerty Uiop send me your mail id
6th Jan 2021, 8:13 AM
raunak j
raunak j - avatar
0
Actually it's a private site
6th Jan 2021, 8:24 AM
raunak j
raunak j - avatar