+ 7
Can i insert only link without any other information while coding in html
19 Respostas
+ 8
Try this code & tell me if this is what you are asking for.
<!DOCTYPE html>
<html>
<head>
<title>Link without writing</title>
<style>
div {
border:2px solid #000000;
height:10px;
width:20px;
}
</style>
</head>
<body>
<a href="https://www.google.co.in">
<div></div>
</a>
</body>
</html>
+ 4
but how
+ 4
yes that means we cannot add a link without information right
+ 4
yes,the code is working and this is what I asked for
+ 4
yes I checked the code
+ 3
u can leave it empty means there is no use of link class..
+ 3
you can use link without any href it will underline it and change cursor but on click will not take anywhere
+ 3
ur code is working bro..
+ 3
you checked this code on ur PC??
+ 2
hyy roshini
+ 2
I know only little bit about html..lol
+ 2
I want to refer.. can u please wait for a moment??otherwise refer any tutorials..like tutorials point..
+ 2
@roshini...I am going to learn html...š
+ 2
output...
+ 1
Sure
+ 1
it will create a link without anywhere to point or without any url.let me know if that's what you meant.
+ 1
noo it is just showing the link but it is not directing to that page
+ 1
u have to click on the link..sry if u already know
0
roshini I guess you are trying to insert a blank link.then try this. <a href="#">link</a>