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...