CreateaFreeWebsite  with Responsive Design Tutorials

How to Create a Web Page with HTML5 and CSS

📖 Then Make it Responsive

The RoadYou've found The Road to Responsive Web Design

This 9 Step tutorial will teach you to create Responsive HTML5 web pages using a simple hands on approach.

You will copy and paste HTML5 code into NotePad or Linux based text editor, then enhance its appearance using CSS (cascading style sheets).

You'll actually see how HTML and CSS work together and the importance of Responsive Web Design.

 

Complete all 9 lessons and you'll have enough information to grab a couple of our free template kits which provide working examples of creating columns, swapping images, using media queries and break points and even scrolling columns without the ugly scrollbars.

Responsive Web Design?

This web page when finished won't just be liquid. It will be mobile ready.

Responsive Web Design means if some one pulls the page up on any size device will display like one of the two pictures shown here.

 

FIRST TIMERS!!

Things you'll need to know:
How to create new folders
How to Copy and Paste
How to find and use your Text Editor
How to use a browser offline
If you don't know how to do any of these things, start with:
How to Use This Tutorial.

 

All GOOD? You should be able to complete the tutorial in about an hour.

🛟 Need Help? Send me your question and I'll post the answer in Tutor Comments.

On a Tablet
Viewed at 912 pixels

The website you will create.

On a SmartPhone
Viewed at 412 pixels

It's mobile ready.

 

Get Organized!!!

Important!!!! Create a special folder to store your HTML and CSS pages in.

Name it htdocs.

Make it easy to find.

Windows Users: Learn to use File Explorer. Find your personal folder. In Windows 11 it's Name-Personal. Create htdocs there. See: Create New Folder

Linux Users: Create it right on your Parent drive on home/parent/htdocs See: Create New Folder

Create another folder INSIDE the /htdocs/ folder.

Name it images.

This will help you to start out in an organized fashion and find the page with your browser when previewing.

You will save pictures that we provide in Exercise 6 in the /htdocs/images/ folder.

 

Tutorial Set Up

Tutor and Text Editor

Open your text editor and place it on the right.

Open the tutor in your browser and place the tutor on the left.

Open 2 tabs in the browser, one for the tutor and one to view the saved changes to myfirstpage.html. Or you can use a second browser for viewing your web pages.

Paste your HTML code and CSS in the Text editor on the right. We'll use an embedded stylesheet to simplify the process.
(That just means it's all one page)

 

💥Ready to work? Start the first Exercise!

First Exercise

You're going to create an html document in this exercise and Save it in your \htdocs folder

Copy and Paste the entire block of code into your Text Editor

This is the HTML code:
See Explanation Below



<!DOCTYPE html>
<html lang="en">
<head>
<title>I Love Responsive Web Design</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
* {
margin:0 0 0 0;
padding:0 0 0 0}
body{
max-width:768px;
margin:0 auto;
font-family: Arial, verdana, tahoma, sans-serif;
font-size:20px;
font-style:normal;
font-weight:100;
color: #444444;
background-color: #ffffff
}

</style>
</head>
<body>

</body>
</html>


 

🔴 Save the web page as myfirstpage.html in the htdocs folder.

The .html extension is crucial.

👀 Once you save the HTML page you can look at the page with a browser. Right now you'll get a blank white page.

Style Sheet Design

We used an embedded stylesheet (located in head section of document) to simplify the process for now.

The 6 page #402 Kit uses a linked style sheet.

 

👇

📦Think you can use the Explanation Button Tool on your site. Download the Explanation Kit and try it for yourself. It's plug in ready.

The Result

Future Web page builders will see an empty white colored browser window.

Were you successful? If you were, congratulations!!

If you see code in your browser you may have errors or you saved your page with a txt extension.

Check the extension of your saved file. It should be .html

Go back and read the information again. Don't skip any steps.

If you are using an HTML editor that doesn't support HTML5, get rid of it. It will probably trash your code.

For best results copy and paste the HTML code and CSS for now.

The HTML code and CSS must be exactly as shown.

 

👇

 

W3C Validator

Using W3C Validator: It isn't that hard to create error free code if you start out right. Get into the habit of using the W3C Validator to check your web pages before uploading them. We prefer the Direct Input option. If you need a quick tutorial get it here.

Test Your Comprehension

💡Take a quiz on the information presented so far.

 

Ready to Proceed

Are you comfortable with your tutor set up? Make adjustments now.

When you're comfortable and get everything working with the desired result in your browser, you are ready to proceed to the next exercise.

Don't go on unless you have a basic understanding of the copy, paste, save and preview procedures presented so far.

 

Top

 

Helps

If you missed the tutor on previewing HTML pages with a browser and are having problems, Visit that tutor now.

 

Free Tools and Resources

Need something more advanced. Check out our Web Development Resources page for some more advanced tutorials and reference guides for HTML5, CSS3, Responsive Design and SEO.

 

Free Bullet Images, WingDings and WebDings
🔵 🔶 😀 🎈 🐝 🏀 👉 👲 💡 🍅

Have you tried our NEWEST template kit with scrolling columns?
Download Template Kit #601 - 4 Page Kit or Test Drive It!