<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
-->
<!--
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 OPR/72.0.3815.320.
The lesson starts out with all of the code commented out. That’s why nothing shows in the preview screen.
If <!-- is the start of a comment
and --> is the end of a comment
What would you have to delete so that the code within the comments displays?
Please note, you do NOT need to delete any tags.
Brief overview on naming;
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.">