HTML and Javascript, Day 1
2025-09-10
Learn the basics of HTML and CSS
Do a teeny bit of programming with JavaScript
Create a personal homepage at GitHub Pages, that is a simplified version of this
Our Goal
Create a webpage that showcases you, which you can use to promote yourself for internships and future jobs
By and large, things in HTML function much more so like LaTeX environments. In HTML, these are called tags. Both environments & tags:
| LaTeX | HTML |
|---|---|
Preamble (\documentclass) |
Doctype + Head (<head>) |
Document body (\begin{document}) |
Body (<body>) |
Command (\emph{}) |
Inline tag (<em>) |
Environment (\begin{itemize}) |
Element (<ul>...</ul>) |
Comment: % ... |
Comment: <!-- ... --> |
<!--# ... -->) within RStudio, press “Ctrl + Shift + C” or “⌘ + Shift + C”< ><p> ... </p>, <emph> ... </emph>, etc.<img src="cat.jpg" alt="Cat"><p> Hello World! </p><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Page</title>
<meta name="author" content="Andrew M. Byrd">
<meta name="date" content="2025-09-10">
<meta name="description" content="Personal homepage for Andrew Byrd">
</head><h1>-<h6>):<h1>About Me</h1>
<p>I study linguistics.</p>
<h2>Interests</h2>
<p>Historical linguistics is awesome.</p>
<p>NLP is cool, too.</p><p>...</p>. What does this tag do?html file and analyze its code.firstname_lastname.html. Add to it:
<p> elements talking about yourself (or whatever you want). Use <h1> and <h2>.<ul>).