Introduction
HTML provides a time
tag that allows developers to represent human-readable time or date, which can also be readable by search engines in the machine-readable format. In this lab, we will learn how to use the time
tag in HTML to create a date and time stamp.
Note: You can practice coding in index.html
and learn How to Write HTML in Visual Studio Code. Please click on 'Go Live' in the bottom right corner to run the web service on port 8080. Then, you can refresh the Web 8080 Tab to preview the web page.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
html(("`HTML`")) -.-> html/BasicStructureGroup(["`Basic Structure`"])
html(("`HTML`")) -.-> html/TextContentandFormattingGroup(["`Text Content and Formatting`"])
html/BasicStructureGroup -.-> html/basic_elems("`Basic Elements`")
html/BasicStructureGroup -.-> html/charset("`Character Encoding`")
html/BasicStructureGroup -.-> html/lang_decl("`Language Declaration`")
html/BasicStructureGroup -.-> html/head_elems("`Head Elements`")
html/TextContentandFormattingGroup -.-> html/para_br("`Paragraphs and Line Breaks`")
subgraph Lab Skills
html/basic_elems -.-> lab-70868{{"`HTML Time Representation`"}}
html/charset -.-> lab-70868{{"`HTML Time Representation`"}}
html/lang_decl -.-> lab-70868{{"`HTML Time Representation`"}}
html/head_elems -.-> lab-70868{{"`HTML Time Representation`"}}
html/para_br -.-> lab-70868{{"`HTML Time Representation`"}}
end