[HTML] Link(2022-03-19)
- 하이퍼링크를 달 때는 a코드와 함께 쓴다.
<a href="url">link text</a>
- The target attribute can have one of the following values:
_self - Default. Opens the document in the same window/tab as it was clicked
_blank - Opens the document in a new window or tab
_parent - Opens the document in the parent frame
_top - Opens the document in the full body of the window_
<a href="https://www.w3schools.com/" target="_blank">Visit W3Schools!</a>
- Link to an Email Address : 'mailto'
<a href="mailto:[email protected]">Send email</a>
- Button as a Link : 'onclick'
<button onclick="document.location='default.asp'">HTML Tutorial</button>
- Link Titles : 'title'
<a href="https://www.w3schools.com/html/" title="Go to W3Schools HTML section">Visit our HTML Tutorial</a>
Author And Source
이 문제에 관하여([HTML] Link(2022-03-19)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@125078/HTML-Link2022-03-19저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)