html #2.4 <a href="">~</a>
a = anchor, 링크라고 알면 됨, 다른 웹사이트로 이동하는 방법
Go to google.com 이렇게 하면 제목만 뜨고 이동 x
그래서 이렇게 써줘야 함, 이동할 곳을 알려줌
**<a href="http://~">** hreft 는 hyperlink reference, HTTP reference
<a href="[http://www.google.com](http://www.google.com/)">Go to google.com</a>
<a href="[http://www.google.com](http://www.google.com/)" target="_self">Go to google.com</a> → 같은 탭에서 사이트 이동
<a href="[http://www.google.com](http://www.google.com/)" target="_blank">Go to google.com</a> → 다른 탭으로 사이트 이동
Go to [google.co](http://google.co)m을 누르면 이동
부가적인 정보 입력해야 이동함 - > attributes(속성)
- <a href="/www/nation/2021/05/356_308523.html" onclick="ga('send', 'event', 'TopNews', 'TNC', 'tnFirst', 1);">Virus fight, North Korea policy to challenge Moon's final year in office </a>
Author And Source
이 문제에 관하여(html #2.4 <a href="">~</a>), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@ehehgirl1/html-2.4-a-hrefa저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)