I dont uderstand the difference between some similar tags in html4 and 5 such as "link" and "a href" and "frameset" and "iframe | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I dont uderstand the difference between some similar tags in html4 and 5 such as "link" and "a href" and "frameset" and "iframe

Which should I adopt as I advance in programming please? And are they even similar at all?

28th Nov 2018, 12:23 AM
Kachi Max
Kachi Max - avatar
1 Answer
0
link and a href are not synonymous. link is generally used in the head (most commonly to link stylesheets) and a href (anchors) are what we commonly would want users to tap/click on to take them to an external resource. Generally, get to know and use HTML5 because it's the living standard and because search engines allegedly give preferential treatment to websites that use the latest standard. Learn HTML4 if you are dealing with special backwards compatability issues (supporting very old or very special browsers).
28th Nov 2018, 5:37 AM
Janning⭐
Janning⭐ - avatar