5C. GUIDE 1 SMT 1
5C. GUIDE 1 SMT 1
LEARNING OBJECTIVES
3.1 Students understand the basics of the HTML Programming Language
I. HTML Basic
All HTML documents are declared with document type <!DOCTYPE html> starting
<html> ending with </html>. In the HTML document there is a section that will be
displayed in a web browser starting with <body> and closing with </body>.Here's
an example of basic HTML:
II. HTML Elements
The second basic HTML is elements, elements consist of a start tag and an end tag with
content in the middle of the tag. Roughly implementing it like this <tagname> This is the
</tagname> tag. Examples as below:
V. BODY
The BODY section is the section that will be displayed on the web browser. The writing beginsof
the <body> tag and closed with </body>. This is where we will write a lot of content with various
tags. Currently we just fill it with <p> tag. <p> Tagsis the tag used to create paragraphs.
VI. “ TITLE “
Title to show the title of a page. Usually this title attribute begins with the opening attribute
<title> TITLE </title>.
VII. Paragraphs
Tags in paragraphs are defined by opening <p> and closing </p>. Example
VIII. Headings
Headings are defined as text sizes with <h1> to <h6> tags. For H1 is usually used for headings,
H2 for subtitles and other headings follow . The smaller the number, the bigger the size and vice
versa. Example :
IX. First example project :
a. Open CODEPEN.IO via your laptop/smartphone browser