Advanced: The Complete Guide for
Beginners"
,Table of Contents
1. HTML Introduction............................................................................................................................. 3
What is HTML? .................................................................................................................................. 3
Basic HTML Structure ........................................................................................................................ 3
Tags, Elements, and Attributes ............................................................................................................ 3
2. Get to Know CSS ................................................................................................................................ 3
Understanding CSS ............................................................................................................................. 3
Insert CSS into HTML ........................................................................................................................ 4
CSS Selectors and Properties .............................................................................................................. 4
3. Build Simple Website Pages ............................................................................................................... 4
Creating the Basic HTML Structure ................................................................................................... 4
Using CSS for Basic Styling ............................................................................................................... 6
4. Organize Text and Images ................................................................................................................... 7
Using Text Tags in HTML .................................................................................................................. 7
Applying Text Styling with CSS ......................................................................................................... 8
Insert a Picture into a Page.................................................................................................................. 8
5. Layout and Box Model ....................................................................................................................... 8
Understanding Box Model .................................................................................................................. 8
Setting the Layout with CSS ............................................................................................................... 9
Positioning dan Floating ................................................................................................................... 10
6. Create the Navigation ....................................................................................................................... 10
Creating a Navigation Menu ............................................................................................................. 10
Implementing Links in HTML.......................................................................................................... 10
Changing Navigation with CSS ........................................................................................................ 11
7. Responsive Web Design.................................................................................................................... 11
Introduction to Responsive Web Design ........................................................................................... 11
Using Media Queries ........................................................................................................................ 12
Customizing Layouts for Different Devices ..................................................................................... 12
8. Create the Form................................................................................................................................. 12
Create Forms with HTML ................................................................................................................ 12
Form Validation ................................................................................................................................ 13
Insert CSS on a Form ........................................................................................................................ 13
Questions .............................................................................................................................................. 14
Answers to Questions ........................................................................................................................... 14
, 1. HTML Introduction
What is HTML?
HTML (HyperText Markup Language) is a markup language used to create the structure and
content of web pages.
Basic HTML Structure
<! DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>This is my first web page.</p>
</body>
</html>
Tags, Elements, and Attributes
- Tags: The '<nama_tag>' and '</nama_tag>' marks used to wrap elements.
- Element: Fill in between the opening and closing tags.
- Attributes: Additional information in the tag that provides settings.
2. Get to Know CSS
Understanding CSS
CSS (Cascading Style Sheets) are used to set the look and style of elements on a web page.