Make Money Online BUILDING WEBSITES Build A Real-World HTML 5 & CSS 3 Responsive Website From Scratch

Build A Real-World HTML 5 & CSS 3 Responsive Website From Scratch

Build A Real-World HTML 5 & CSS 3 Responsive Website From Scratch post thumbnail image


In this tutorial, we will be creating a real-world HTML 5 & CSS 3 responsive website from scratch. We will be using a few modern techniques such as flexbox and CSS grid.

The first thing we need to do is create the HTML structure for our website. We will be using a simple

element with a class of “wrapper” to contain all of our content.

Next, we will add our header

. We will give it a class of “header” and add some basic styling.

We will also add a

for our main content. We will give it a class of “content” and add some basic styling.

Next, we will add our sidebar. We will give it a class of “sidebar” and add some basic styling.

We will also add a

for our footer. We will give it a class of “footer” and add some basic styling.

Now that our HTML structure is in place, we can start adding our CSS. We will start by adding some basic styling to our

elements.

We will give our

with the class of “wrapper” a width of 960 pixels and a margin of auto. We will also give it a background color of lightgray.

We will give our

with the class of “header” a height of 100 pixels, a background color of lightblue, and some padding.

We will also give our

with the class of “content” a width of 960 pixels, a margin of auto, and a background color of white.

We will give our

with the class of “sidebar” a width of 320 pixels, a margin of auto, and a background color of lightgray.

We will also give our

with the class of “footer” a height of 100 pixels, a background color of lightgray, and some padding.

Next, we will add some basic styling to our

and

elements.

We will give our

element a font-size of 36 pixels, a font-weight of bold, and a margin of 0.5em.

We will give our

element a font-size of 16 pixels, a font-weight of normal, and a margin of 0

Related Post

🔴 Build Responsive Blog Website using HTML CSS JS & BootStrap 5 in Hindi | Live Hosting | Free Code

🔴 Build Responsive Blog Website using HTML CSS JS & BootStrap 5 in Hindi | Live Hosting | Free Code🔴 Build Responsive Blog Website using HTML CSS JS & BootStrap 5 in Hindi | Live Hosting | Free Code

आज हम बताएंगे कि कैसे आप अपने ब्लॉग को आसानी से रोज़गार के लिए बना सकते हैं। आप HTML, CSS और JS के साथ Bootstrap को इस्तेमाल कर सकते हैं।