Thanks that took care of it. Strange to me as most elements if that’s what you call them have the <> like, ,
Anchor element is no different but special, as you saw that when your code wasn’t working because href attribute was defined outside and if that is defined out of the opening/starting anchor tag, then it looks like that the tag works only as a placeholder for a hyperlink.
and this was the problem at the first place with your bottom line. I hope it helped you to complete your task.
@juliakajill, understand the difference between a tag, an element and an attribute.
HTML tags vs. elements vs. attributes
HTML tags
Tags are used to mark up the start and end of an HTML element. The following are paragraph tags.
<p></p>
HTML elements
An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
<p>This is the content of the paragraph element.</p>
HTML attributes
An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element’s start tag. An element’s start tag may contain any number of space separated attribute/value pairs.
The most popular misuse of the term “tag” is referring to alt
attributes as “alt tags”. There is no such thing in HTML. Alt is an attribute, not a tag.
<img src="foobar.gif" alt="A foo can be balanced on a bar by placing its fubar on the bar's foobar.">
Thanks I wrote it down and will try and get the hang of the difference.
I am noticing my code pen window does not have a save button at top. I am thinking it did last week. Should it have a save button?