Hyperlinks
2018-02-27 16:42 Weiweim 阅读(276) 评论(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
a
andhref
. - There are no spaces around the
=
. - The website has two
"
around it. - There are no spaces between the
href
attribute and the>
of the opening tag.