0

Why is the tag href=" " empty

<a href=" "></a>

24th Jul 2018, 3:27 PM
Osita Chikwesirieze osita
Osita Chikwesirieze osita - avatar
4 Réponses
+ 4
When the href is empty it takes you nowhere ... the href attribute determines what you want to display, after hyperlinking with the <a> ... e.g <a href = "https://www.sololearn.com/html /> Sololearn </a> This example takes you to Soolearn web, and html page in it..
24th Jul 2018, 9:30 PM
Rex
Rex - avatar
+ 3
ᴛʜᴇ ᴀʟᴛ = "ᴅᴏɢ ᴘʜᴏᴛᴏ" ᴘʀᴏᴠɪᴅᴇs ʙᴇᴛᴛᴇʀ ɪɴғᴏʀᴍᴀᴛɪᴏɴ ғᴏʀ sᴄʀᴇᴇɴ ʀᴇᴀᴅᴇʀs ᴀɴᴅ sᴇᴀʀᴄʜ ᴇɴɢɪɴᴇs.. ғᴏʀ ᴇxᴀᴍᴘʟᴇ, ɴᴏᴛ ᴇᴠᴇʀʏᴏɴᴇ ᴇɴᴀʙʟᴇs ɪᴍᴀɢᴇs ᴏɴ ᴛʜᴇɪʀ ᴄᴏᴍᴘᴜᴛᴇʀs, sᴏ ɪғ ᴛʜᴀᴛ ɪᴍᴀɢᴇ ғᴀɪʟs ᴛᴏ ʟᴏᴀᴅ, ᴛʜᴇ ᴛᴇxᴛ ɪɴsɪᴅᴇ ᴛʜᴇ ᴀʟᴛ ="ᴅᴏɢ ᴘʜᴏᴛᴏ" ᴛᴇʟʟs ᴛʜᴇ ᴜsᴇʀ ᴛʜᴀᴛ ᴛʜᴇʀᴇ ɪs ᴀ ᴅᴏɢ ᴘʜᴏᴛᴏ ᴛʜᴇʀᴇ ᴇᴠᴇɴ ɪғ ɪᴛ ғᴀɪʟs ᴛᴏ ʟᴏᴀᴅ... ʙᴇsᴛ ᴘʀᴀᴄᴛɪᴄᴇs, ᴀʟᴡᴀʏs ᴍᴀᴋᴇ ᴜsᴇ ᴏғ ᴛʜᴇ ᴀʟᴛᴇʀɴᴀᴛᴇ
25th Jul 2018, 7:53 AM
Rex
Rex - avatar
+ 2
It is empty because you haven't referenced (hyperlinked) it yet
24th Jul 2018, 9:32 PM
Rex
Rex - avatar
0
what about alt=""
25th Jul 2018, 7:15 AM
Osita Chikwesirieze osita
Osita Chikwesirieze osita - avatar