<!-- The characters -->
< >
< / >
-
=
" "
' '
!
<!-- This is the Primary heading -->
<h1>Primary Heading</h1>
<!-- This is my selfie -->
<img src="selfie.jpg" />
<!-- This is footer -->
<footer></footer>
<--
Syntax Error
Typed the wrong characters
-->
<html> <//html>
<!-- Semantic Error
It works, but meaning is wrong.
-->
<p>Your Name</p>
<p>Your Student ID</p>
<!--
Syntax Error
Typed the wrong characters
-->
<html> </html>
<!-- Semantic Error
It works, but meaning is wrong.
-->
<h1>Your Name</h1>
<data>Your Student ID</data>
HTML is the content layer
CSS is the presentation layer
JS the behavioral layer
Like PDF from exported from InDesign, websites are the product/result HTML (CSS and JS)
Best way to learn any language is immersion.
English changes and evolves. Words are added, removed, made up, changed, etc.
<blink>
<marquee>
<center>
<font>
<big>
"Words" are analogous to HTML elements.
Too many to list here. Find your trusted source.
HTML "dictionaries" for Web Design 1
FYI. ANY "W3C Schools" website will be ignored. There are better resources.
Elements are the "words in the HTML Dictionary"
An element is composed of tags, attributes, and values.
< /a>
GET Used to looking at code.
<!-- Start of Comment
Comment(s)
end of Comment -->
<!-- TAGS
* Tag Pairs
* Self Closing
-->
<!--
Tag Pairs Examples
-->
<h1>
Heading Content
</h1>
<p>
Paragraph Content
</p>
<!--
Self Closing
-->
<img />
<br />
<!-- ATTRIBUTES and VALUES
* Left of equal sign
* Elements can have any number attributes
* Can be true/false
-->
<!--
Element: Image
Self Closing or Tag Pair: self closing
Attribute(s): src
Value(s): selfie.jpg
-->
<img src="selfie.jpg" />
<!--
Element: Image
Self Closing or Tag Pair: self closing
Attribute(s): src, alt
Value(s): selfie.jpg, My Selfie
-->
<img src="selfie.jpg" alt="My Selfie" />
<!-- ATTRIBUTES and VALUES Continued -->
<!--
Element: anchor
Self Closing or Tag Pair: tag pair
Attribute(s): href, target
Value(s): ewu.edu, _self
-->
<a href="ewu.edu" target="_self"> EWU Website </a>
<!--
Element: video
Self Closing or Tag Pair: tag pair
Attribute(s): src, autoplay
Value(s): ewu.mp4
-->
<video src="ewu.mp4" autoplay /></video>