!DOCTYPE html, the declaration specifying the version of HTML for the browser
The html tags that enclose all of your HTML code
The head tag that contains the metadata of a webpage, such as its title
<a href="https://www.wikipedia.org/">
This Is A Link To Wikipedia</a>
<a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">
The Brown Bear</a>
<a href="./contact.html">Contact</a>
(1) Text-only links
<a href="https://en.wikipedia.org/wiki/Opuntia" target="_blank">Prickly Pear</a>
(2) img links
<a href="https://en.wikipedia.org/wiki/Opuntia"
target="_blank">
<img src="https://www.Prickly_Pear_Closeup.jpg"
alt="A red prickly pear fruit"/><
/a>
<p id="top">This is the top of the page!</p>
<h1 id="bottom">This is the bottom! </h1>
<ol>
<li><a href="#top">Top</a></li>
<li><a href="#bottom">Bottom</a></li>
</ol>
<!-- Favorite Films Section -->
The declaration should always be the first line of code in your HTML files. This lets the browser know what version of HTML to expect.
The html element will contain all of your HTML code.
Information about the web page, like the title, belongs within the of the page.
You can add a title to your web page by using the element, inside of the head.
A webpage’s title appears in a browser’s tab.
Anchor tags (a) are used to link to internal pages, external pages or content on the same page.
You can create sections on a webpage and jump to them using a tags and adding ids to the elements you wish to jump to.
Whitespace between HTML elements helps make code easier to read while not changing how elements appear in the browser.
Indentation also helps make code easier to read. It makes parent-child relationships visible.
Comments are written in HTML using the following syntax: .
plus : vleog에서 글자색 입히깅
<span style="color:red">red</span>
<span style="color:#d3d3d3">#d3d3d3</span>
<span style="color:rgb(245, 235, 13)">rgb(245, 235, 13)</span>