summaryrefslogtreecommitdiff
path: root/content/html4.md
diff options
context:
space:
mode:
authorLuke Smith <Luke Smith>2022-06-25 10:56:36 -0400
committerLuke Smith <Luke Smith>2022-06-25 10:56:36 -0400
commit7e74a039122aef922d1619e636de3497ffcf7c60 (patch)
tree6029d4f3bd5496acd15e81ad5babb367f8836d60 /content/html4.md
parent967594150f011456cde5965d48cbf0e64f39d31e (diff)
convert to hugo
Diffstat (limited to 'content/html4.md')
-rw-r--r--content/html4.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/content/html4.md b/content/html4.md
new file mode 100644
index 0000000..adb8eb3
--- /dev/null
+++ b/content/html4.md
@@ -0,0 +1,32 @@
+---
+title: "Doing HTML Right"
+draft: true
+---
+We\'ve noted that HTML is very forgiving
+
+## A look at a decent template
+
+I have a template file that I use for this website that includes all the
+basics. When I make a new page, I just copy the template and add the
+content. Here is what the template looks like:
+
+``
+
+ <!DOCTYPE html>
+ <html lang=en>
+ <head>
+ <title>Your page title</title>
+ <meta charset="utf-8"/>
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel='alternate' type='application/rss+xml' title='Site Title RSS' href='/rss.xml'>
+ </head>
+ <body>
+ <header><h1>Your page title</h1></header>
+
+ <nav></nav>
+
+ <main>
+
+ Put all your page content here in the <main> tag.