Hyperlinks
2018-02-27 16:42 Weiweim 阅读(291) 评论(0) 收藏 举报Hyperlinks are created with anchor elements, which generally look like:
<a href="https://www.udacity.com">Udacity</a>
and render on the page like this: Udacity.
Inside the opening a tag there is href, which stands for "reference." This is called an attribute. Attributes like href describe the properties of HTML elements.
- There is a space between
aandhref. - There are no spaces around the
=. - The website has two
"around it. - There are no spaces between the
hrefattribute and the>of the opening tag.
浙公网安备 33010602011771号