Developing a Website from Scratch
HTML Lesson 9: Developing a Website from Scratch
Developing a website from scratch yourself
Development of the structure
Today, many website development tools have emerged, including specialized portals designed for building websites based on provided templates, content management systems, and other similar tools. These systems naturally facilitate the resource creation process. However, for educational purposes, it’s necessary to learn how to create a website from scratch. For this, we’ll choose a simple design that uses a frame structure to organize the website’s page interface.
To begin, you need to prepare a working directory and the main necessary files. Notepad++It
is recommended for working with files. Create a working directory (named site, for example) and arrange two folders within it, as shown in the figure:

In the main directory, create and save HTML files with the following names:
- index.html
- header.html
- menu.html
- titul.html
- footer.html
- chapter 1.html
Open the main executable file – index.html (the layout file) and add the code to organize the frame structure:
< html > < head > < title > Frames < / title > < / head > < frameset rows = "10%,80%,*" > < frame src = "header.html" noresize > < frameset cols = "20%,80%" > < frame src = "menu.html" > < frame src = "titul.html" name = "main" > < / frameset > < frame src = " footer.html " > </frameset> </html> |
Then you need to add the code to the web pages intended for this purpose:
- header.html
< html > < head > < / head > < body > < h1 > Logo/Header < / h1 > < / body > < / html > |
- menu.html
< html > < head > < / head > < body > < h1 > Menu < / h1 > < / body > < / html > |
- titul.html
< html > < head > < / head > < body > < h1 > Description < / h1 > < / body > < / html > |
- footer.html
< html > < head > < / head > < body > < h1 > Copyright < / h1 > < / body > < / html > |
- chapter 1.html
< html > < head > < / head > < body > < h1 > Chapter 1 < / h1 > < / body > < / html > |
Organizing the work of hyperlinks in the menu
For hyperlinks in the menu.html file to work correctly, namely, for executable files to open in the frame to the right of the menu, two steps must be completed:
In the frame structure file, add a name for the frame in which we are going to open web pages in the menu:
< frame src = "title.html" name = "main" > |
We’ve already done this when creating the frame structure. The frame we need is called main.
Add the hyperlink code to the menu.html file:
< html > < head > < / head > < body > < h1 > Menu < / h1 > < table > < tr > < td > <a href = "chlava1.html" target = "main" rel = "noopener noreferrer" > Chapter 1 < / a > < / td > < / tr > < tr > < td > <a href = "chlava2.html" target = "main" rel = "noopener noreferrer" > Chapter 2 < / a > < / td > < / tr > < tr > < td > <a href = "chlava3.html" target = "main" rel = "noopener noreferrer" > Chapter 3 < / a > < / td > < / tr > < / table > < / body > |
In the links we indicated the target of the page output – a frame called main – target="main".
Adding CSS styles
To design a website, and in some cases to make its elements dynamic, it is necessary to use cascading style sheets.
First, create a document to store styles – a file called style.css, and place it in the files folder.
To connect the created style file to all pages of the site, you need to place a link to this file in the code of all pages, except for the file with the frame structure ( index.html ):
< html > < head > < link rel = "stylesheet" type = "text/css" href = "files/style.css" > < / head > ... |
To add tag styling rules, please refer to our site’s CSS tutorials.
Explore More IT Terms
#
A
- A Guide to SQL Query Formatting
- A/B testing
- Agile
- Algorithm
- Algorithm complexity in 5 minutes
- Algorithms and Data Structures in C#
- An overview of the C # programming language
- An overview of the Python programming language
- Anaconda Python
- Android
- Android App Bundle
- Android SDK
- Angular
- Ansible
- Apache
- Apache Airflow
- Apache Kafka
- Apache Tomcat
- App Store
- AppCode
- Applications of microcontrollers: From simple circuits in electronics to complex systems
- Applications of the derivative
- Arduino: How to Program It: Basics for Beginners
- Array-based stack
- ArrayList
- ASCII
- ASP.NET
- Assembly Language Lessons
B
C
D
- Data Analytics: applications of data analysis in companies
- Data Engineer - Who is it, what does a data engineer do, and an overview of the profession
- Data modeling: what it is, types, and process steps.
- Data preprocessing: a complete guide for beginners and professionals.
- Data structure
- Data structures
- Deep Learning
- Defining Aliases
- Defining Arrays
- Deque
- Developing a Website from Scratch
- Differential Equations
- Differentiation of functions
- Digital data: understand the importance of this asset for businesses.
- Double integrals
- Doubly linked lists
E
F
H
- Handling errors and exceptions
- How to effectively organize your workflow
- How to Learn Java: Tips for Beginner Developers
- How to Learn PHP: A Beginner's Guide
- How to Use S3 Storage in Kubernetes with CSI
- HTML
- HTML and CSS: Definition, Application, and Operating Principles
- HTML and CSS. Layout from Scratch: What to Learn, Where to Learn, and How Long Will It Take?
- HTML Frame Structure
- HTML Link Formatting
I
- if..else construction
- Infinite sequences and series
- Inheritance in Java: A Complete Guide to Principles and Implementation
- Inserting an Image
- Integration of functions
- Interactive Python Tutorial – Learn Programming from Scratch
- Interview Problem: Finding a Deleted Element in O(N)
- Interview Scare: The FizzBuzz Challenge
- Introduction to C++
- Introduction to Machine Learning
- Introduction to programming languages
- IT Specialist Resume (CV)
J
K
M
- Machine Learning
- Machine Learning Basic Tool: NumPy
- Machine Learning Basic Tool: Pandas
- Machine Learning Mathematics
- Microcontroller and Microprocessor - what's the difference?
- ML Engineer: Who They Are, What They Do, How Much They Earn, and How to Become a Neural Network Specialist
- Monte Carlo Simulation: How It Works and What It's For
O
P
- PHP lessons
- Private DNS server and its configuration
- Programmer's Dictionary
- Programming with pseudocode
- Python Code Formatting Guide: PEP8
- Python for data analysis: how to do it and main libraries
- Python Lessons
- Python Superstar: 5 Ways to Use the * Operator
- Python vs. Julia: Should You Replace Python with Julia?
R
S
- SFML Graphics Library Tutorials
- Sorting Algorithms in Programming: Types, Descriptions, and Comparisons
- SQL commands: see what they are, what the main ones are + examples
- SQL Interview Questions and Tasks
- SQL Lessons
- SQL Stored Procedures
- SQL Syntactic Sugar: The COALESCE Function
- Stack
- Start in analytics: Python or R
- Statistical analysis: importance for decision making.
- String formatting in Python
- Swift Lessons
- switch/match construct
T
W
- What are databases, and why do they need DBMS and SQL?
- What do Linux distributions consist of?
- What is .NET and what is it used for?
- What is a GPU in a computer, in simple terms?
- What is Arduino: How it Works and the Platform's Capabilities
- What is Big Data? Introduction, Types, Characteristics, and Examples
- What is Golang and what is it used for?
- What is Haskell and what is it used for?
- What is Kotlin and what is it used for?
- What is Linux? The History of Linux
- What is machine learning, and how does it work?
- What is Power BI: everything about the data analytics software
- What is the C++ programming language?
- What is the OSI Model: A Complete Explanation of the Seven Layers and Their Role in Networking
- What's the difference between x86 and ARM processors?
- Where to start learning the C programming language?
- Which Linux distribution should you choose? A Linux distribution overview
