Elisa Beshero-Bondar PRO
Professor of Digital Humanities and Chair of the Digital Media, Arts, and Technology Program at Penn State Erie, The Behrend College.
Hypertext Markup Language
XHTML syntax
Version 5.0
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
</body>
</html>
Image credit: https://web4college.com
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<h1>Top level heading</h1>
<p>Text content understood as a <q>paragraph</q></p>
<ul>
<li>bulleted list item</li>
<li>another bulleted list item</li>
</ul>
<p>Another block paragraph with
<strong>this phrase</strong> emphasized.
</p>
</body>
</html>
Image credit: https://web4college.com
Image Credit: https://www.onlinedesignteacher.com
Image Credit: Slightly adapted from https://studio.code.org
<img src="bird.jpg" alt="photo of bird"/>
XHTML Syntax: Note the forward slash at the end of the element!
<head>
<title>My Portfolio Site</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<nav>
<ul class="menuB"><li><a href="index.html">Home</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="essays.html">DIGIT 100 Essays</a></li>
</ul>
</nav>
<figure class="photoGallery">
<img class="photo" src="images/littleNewt.jpg" alt="pet firebelly newt"/>
<figcaption>Photo of my pet firebelly newt.</figcaption>
</figure>
<p>Here is a sample link to another website outside of this site.
This link holds an <dfn>absolute URL</dfn>:
<a href="https://behrend.psu.edu/">Penn State Erie, The Behrend College</a>.
</p>
By Elisa Beshero-Bondar
Slides to help with learning HTML
Professor of Digital Humanities and Chair of the Digital Media, Arts, and Technology Program at Penn State Erie, The Behrend College.