Create a Basic Webpage using HTML
HTML
HTML (Hypertext Markup Language) is the standard markup language for creating web pages and web applications.
HTML provides the structure and content of web pages through markup elements that define the layout, text, images, multimedia, and interactive elements.
HTML Tags and Elements
HTML Tags
HTML tags are the building blocks of an HTML document, and are enclosed in angle brackets < >
.
HTML Elements
HTML elements consist of a start tag, content, and an end tag.
HTML Basic Tags
<html>
The root element that contains the entire HTML document.
<head>
Contains meta-information about the document, such as the title and links to stylesheets and scripts.
<body>
Contains the content of the HTML document that is displayed in the browser.
<h1> to <h6>
Define headings, with <h1> being the highest level and <h6> the lowest.
<p>
Defines a paragraph of text.
Steps to Create a Simple Webpage Using Notepad
- Open Notepad on your computer.
- Write HTML code to structure your content.
- Save the file with a .html extension.
Step 1
Open Notepad and type this code
<html>
<head></head>
<body>
<h1>Welcome to Web Designing</h1>
<p>My first paragraph in a web page</p>
<h1>Another Heading</h1>
<p>Another Paragraph</p>
<h2>Sub heading</h2>
<h3>Sub heading</h3>
<h6>Sub heading</h6>
</body>
</html>
Run Code

Then create a folder to save our files and save the file inside it
Step 2
After that go to file location and double click on the file we saved
