Alan's HTML Template
A copy/paste way to start a new site
Introduction
I like using sub-domains for experiments. You can check them out at links.alanwsmith.com. This page and its supporting files are my current template for getting started with a new one.
Most of the sites start off as single pages. I include the styles and scripts in the page directly as a result.
Work-In-Progress
The first version of this template is still under development. Current work is focused on the youtube embedding web component which will reside here: yt-player.alanwsmith.com
YouTube Embed Example
Notes
- The main content area is centered vertically if it's not large enough to fill the screen
- The page includes the YouTube IFrame API for loading videos programmatically. It doesn't attempt to auto-start.
- TODO: The YouTube embed can be used with multiple videos on the page
- TODO: The YouTube embed automatically adds control buttons
- TODO: Provide a light/dark mode color switcher
- TODO: Responsive images
- TODO: Responsive videos
This is an H2 Example Headline
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras malesuada finibus risus sit amet gravida. Sed id nibh non ipsum convallis commodo.
Nullam ornare luctus semper. Donec libero sem, dapibus id nibh non, venenatis pretium diam. Sed elementum, tortor vel euismod accumsan, mi risus posuere magna, non volutpat velit nulla vel leo.
Pellentesque eget ex eleifend, interdum arcu ut, pulvinar risus. Praesent placerat eu libero id ultricies.