1. Introduction to HTML and CSS
Activity 1.01: Video Store Page Template
Solution
- To start, we open the
Chapter01
folder in VSCode (File
>Open Folder…
) and we will create a new plain text file by clickingFile
>New File
. Then, save it in HTML format, by clickingFile
>Save As...
and enter the file name:Activity 1.01.html
. Start with the doctype and thehtml
,head
, andbody
elements:<!DOCTYPE html> <html lang="en"> Â Â Â Â Â <head> Â Â Â Â Â </head> Â Â Â Â Â <body> Â Â Â Â Â </body> </html>
- Add the title in the
head
element to describe the site and add a placeholder for the part of the title specific to the page:<!DOCTYPE html> <html lang="en"> Â Â Â Â Â <head> Â Â Â Â Â Â Â Â Â <title>Films on Demand - <!-- Title for page goes...