what is meaning of <a href=/>? in html?

2015-01-14 5:49 am
更新1:

and also <script src=/s>

回答 (3)

2015-01-14 6:06 am
✔ 最佳答案
/ is the root directory as determined by the web server program.
2015-01-14 11:28 am
Proper syntax is:

<a href="http://google.com">Google</a>

<script src="myscript.js"></script>

The first will display as "Google" and send the user to google.com when clicked (a hyperlink).
The second includes a script, with src stating the file name.
2015-01-14 10:22 am
<a href=/>
a ->hyperlink
href ->link's destination


收錄日期: 2021-04-21 01:14:47
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20150113214954AAXkTrE

檢視 Wayback Machine 備份