How to Create a Website Using HTML and CSS
Before Creating any Website Follow the below Steps -
1. Create a Plan for Your Website
Before starting to make any website firstly Create a rough sketch on paper or computer.
2. Create a Setup for Your Website
After completing the first step, follow the Below Steps
a. create a new folder for your Website
b. create 2 files for HTML and CSS. e.g.- index.html and style.css
3. Write Simple Code in an HTML file and link the CSS file with the HTML file
e.g.
<!DOCTYPE html>
<html>
<head>
<title>Title for Your Website</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Sample Heading</h1>
</body>
</html>
4. Create an Element for the Layout
Depending on your website add <header>, <main>,<section>,<header>,<aside>,<footer> element in HTML file.
5. Fill all HTML Elements with Data
Now add actual data of your website into HTML elements.
6. Add CSS
Now it's time to add CSS code for the layout and write CSS code in the CSS file.
7. Add color, Background to your Website
8. Congratulations your Website is Ready
Watch the below Videos to Learn How to Create a Website using HTML and CSS -