0
0
Intro to Computingfundamentals~10 mins

HTML as the language of web pages in Intro to Computing - Flowchart & Logic Diagram

Choose your learning style9 modes available
Process Overview

HTML is the basic language used to create and structure content on the web. It tells the web browser what to show and how to organize text, images, and links on a web page.

Flowchart
Write HTML code
Save file with .html extension
Open file in web browser
Yes No
Display web page
This flowchart shows the process of creating a web page using HTML: writing code, saving it, opening it in a browser, and the browser displaying the page if it understands HTML.
Step-by-Step Trace - 6 Steps
Step 1: Write HTML code using tags like <html>, <head>, <body>, <p>, <img>.
Step 2: Save the file with a .html extension, for example, 'mypage.html'.
Step 3: Open the saved HTML file in a web browser like Chrome or Firefox.
Step 4: Browser checks if it understands the HTML code.
Step 5: If yes, browser displays the web page with formatted text, images, and links.
Step 6: If no, browser shows an error or displays raw code.
Diagram
 +-------------------+      +-------------------+      +-------------------+
 |   HTML File       | ---> |   Browser Reads    | ---> |   Display Web     |
 | (mypage.html)     |      |   HTML Code       |      |   Page Content    |
 +-------------------+      +-------------------+      +-------------------+
        |                          |                          |
        |                          |                          |
        +--------------------------+--------------------------+
                                   |
                             +-------------------+
                             |  Show Error or    |
                             |  Raw Code if HTML |
                             |  Not Understood   |
                             +-------------------+
This diagram shows how an HTML file is read by a browser and either displayed as a web page or shows an error if the HTML is not understood.
Flowchart Quiz - 3 Questions
Test your understanding
What is the first step to create a web page using HTML?
AWrite HTML code with tags
BOpen the browser
CSave the file as .txt
DDisplay the web page
Key Result
HTML code is the blueprint that browsers read and convert into the web pages we see.