Welcome to your journey as a web developer! Before writing your first program, you need to understand what HTML is and configure your local computer environment with the tools used by industry professionals.
Advertisement
Nextsem Academy
Lesson: p0-1-setup
Slide 1 / 7
P0.2: Introduction to HTML & Developer Setup
Welcome to your journey as a web developer! Before writing your first program, you need to understand what HTML is and configure your local computer environment with the tools used by industry professionals.
Slide 2 / 7
1. What is HTML?
Based on the standard HTML curriculum:
HTML stands for HyperText Markup Language.
It is the standard markup language for creating Web pages.
It defines the structure of a Web page and consists of a series of elements.
HTML elements tell the browser how to display the content.
Elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
Slide 3 / 7
2. A Simple HTML Document
Here is the basic HTML template used by developers to start every new webpage:
Example
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Interactive Code
Explanation of Tags:
<!DOCTYPE html> defines that this document is an HTML5 document.
<html> is the root element of an HTML page.
<head> contains meta information about the HTML page (such as the page title).
<title> specifies a title for the HTML page (shown in the browser's title bar or tab).
<body> defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
<h1> defines a large heading.
<p> defines a paragraph.
Slide 4 / 7
3. HTML Elements & Browser Rendering
An HTML element is defined by a start tag, some content, and an end tag:
<tagname> Content goes here... </tagname>
The HTML element is everything from the start tag to the end tag:
<h1>My First Heading</h1>
<p>My first paragraph.</p>
Web Browsers: The purpose of a web browser (Chrome, Edge, Safari, Firefox) is to read HTML documents and display them correctly. A browser does not display the HTML tags, but uses them to determine how to document and style the page.
Slide 5 / 7
4. Software Downloads & Setup
To start building HTML pages locally, download and install the following core developer tools:
1. Google Chrome Browser
Google Chrome is the primary browser used by developers because of its fast rendering engine and powerful built-in developer tools.
VS Code is the most popular code editor in the world. It provides syntax highlighting, auto-completion, and extensions to make writing code incredibly fast.
Tip: During installation, check the box that says "Add to PATH" so you can open projects directly from the terminal.
3. Git & Node.js
Git (Version Control): Download and install Git for Windows or Open Terminal on macOS and run git --version.
Node.js (JavaScript Runtime): Download and install Node.js (LTS Version) to get access to npm (Node Package Manager).
Slide 6 / 7
5. Verification Commands & Extensions
Open your terminal (Terminal on macOS/Linux, or Git Bash on Windows) and run the following commands to verify your setup:
>_Command Prompt
โโโ
# Check Node.js version
node -v
# Check npm version
npm -v
# Check Git version
git --version
Interactive Console
Recommended VS Code Extensions
Install these from the extension marketplace (Ctrl+Shift+X) for an optimal environment:
| Extension Name | Developer | Purpose |
| :--- | :--- | :--- |
| Live Server | Ritwick Dey | Starts a local development server with auto-refresh on save |
| Prettier | Prettier | Formats your HTML, CSS, and JS automatically on save |