diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-07-01 17:01:45 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-07-01 17:01:45 +0900 |
| commit | 516f632b84bc418486538a2183564fe94b89097e (patch) | |
| tree | 56fed110e820d6520b39e550ccca31f00cae33ff /content/html4.md | |
init
Diffstat (limited to 'content/html4.md')
| -rw-r--r-- | content/html4.md | 32 |
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. |
