Making a hyperlink "> vs " />

RDO Servers

Well-known member
Registered
Joined
Apr 3, 2015
Messages
1,027
Points
83
/> is for a 'self closing' tag.

I.e. <br /> <hr />

Tags that do not have content in-between can be self closing.
Tags that have content in between, do not close this way.
I.a <div> your content </div> <a href=''>link text</a>
 
Latest Threads
Recommended Threads
Replies
60
Views
55,386
Replies
11
Views
4,477
Replies
2
Views
2,647
Replies
45
Views
10,954
Replies
0
Views
2,015

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top