0

What becomes of the content in the <a>tag, if the tag doesn't have a href attribute?

22nd Oct 2017, 12:44 PM
Owolawi Kehinde
Owolawi Kehinde - avatar
3 odpowiedzi
+ 1
This is simplified! The content just stays as text. Anchor tags are really just Paragraph tags with a hyperlink pointer slapped onto them - the browser also places higher priority on them only IF they hyperlink to another page. Content safe and sound.
22nd Oct 2017, 12:46 PM
ghostwalker13
ghostwalker13 - avatar
+ 1
anchor tags and paragraph tag are not the same anchor tag is inline tag and paragraph tag is block tag so content will be same but the content will be in line
22nd Oct 2017, 12:49 PM
Muhammad Idrees 🇵🇰
Muhammad Idrees 🇵🇰 - avatar
0
Thanks a lot
22nd Oct 2017, 12:47 PM
Owolawi Kehinde
Owolawi Kehinde - avatar