How to create a simple web page with html

How to create a simple web page with htmlIf you ask a web developer, he’ll probably say that HTML5 is the greatest thing to have happened to humanity since the invention of Nerf guns the printing press. HTML5 helps you create powerful, interactive web pages and applications packed with the goodness of CSS3 and jQuery. It is used in every new website/web app and is an essential skill to learn for any web developer. You can master HTML5 programming the easier way by taking this popular course from Sushant Das.

In this HTML5 tutorial for beginners, we will create a simple, barebones webpage using HTML5.

What You’ll Need

  • Some familiarity with basic HTML tags such as

Creating a Simple HTML5 Website

The best way to learn something is by actually doing it. With that in mind, we’ll jump right into this tutorial and create our very own HTML5 website.

First, create a new document in your favorite text editor. We highly recommend Notepad++, a free alternative to Notepad.

In the blank document, copy and paste the following code:

Confused? Don’t worry. We’ll look at every line of code in detail below.

Understanding the HTML5 Code

Let’s start with the very top:

The Header

This simple tag basically tells the browser that “Hey, this is a HTML webpage, so you better render it correctly!”. With HTML5, this tag has been made extremely simple. If you were to use HTML4, you would probably have to write something like

Quite a mouthful, right? This is why HTML5 is the best!

The meta character set tag directs the browser to use the appropriate encoding. Don’t bother yourself too much with this tag except for making sure to include it in your webpage!

The tag should be familiar enough – it’s the text that shows up at the top of the browser window. This tag is crucial for SEO, so make sure to get the keywords right.

The first meta tag, as you might be aware, gives a brief description of the webpage. Although it has no real SEO benefits, search engines often display this description in search results, so it’s a good practice to include it in your websites.

The second meta author tag tells the browser about the page’s creator. Here, we’ve used Udemy, but you should use your own name or your company’s name under “content”.

There’s little change from HTML4 to HTML5 in the link tag which is used to connect external files. Here, we are using the tag to refer to an externally stored CSS stylesheet, style.css.

That’s it for the section. Now let’s take a look at the !

The Main Content

Worried about site widths? Master responsive web design with this course and make your website look good on any platform!

is a new tag in HTML5. Although it doesn’t have any particular function, it makes for a more semantic webpage. Include the tag whenever you’re referring to any header – the main headline, sub-headline, etc.

Here, we’ve also assigned the header a class of “main_headline”.

[Note: The difference between ‘id’ and ‘class’ is that an ‘id’ can be used only once on a webpage, while a ‘class’ can be used as many times as you want.]

Keeping with HTML5’s mission for creating a more semantic web, the

Introduction: How to Create a Simple Web Page Using Brackets for Beginners


The following instructions provide step by step guidance to make a web page using Brackets. Brackets is a source code editor with a primary focus on web development. Created by Adobe Systems, it is free and open-source software licensed under the MIT License, and is currently maintained on GitHub by Adobe and other open-source developers. It is written in JavaScript, HTML and CSS.


Note: – All HTML tags should be in between brackets:

Step 1: Download the Software

download Brackets from this website

Step 2: Open Brackets

open downloaded Brackets software on a computer.

Step 3: Create a New File

After opening Brackets, Click on the file icon on the top left of the window, then click new, you will see new file “Untitled”.

Step 4: Save As.. the File

Right click on this file’ untitled’, click save as, then you should save it on a drive

at this point you can give any name to the file, just make sure after the name to add “.html” (dot html).

Step 5: Start With DOCTYPE Tag

Every html page must start with the following structure tag It tells the browser what ‘rules to follow’ when rendering an HTML page.

Step 6: HTML Tag

and – those tags are to start and end a document.

Step 7: Head and Body Tags

In between html tags, write and , where it contains ‘behind the scenes’ stuff. Also, write and where it contains text, images, video, audio and so on.

Step 8: Meta Tag

In between tags, write where it provides such information as search engine terms or character encoding.

Step 9: Title Tag

In between tags, under , write and . So, anything you write in between, you will see it at the top of the browser window and this tag is important for search engine. For example, I’m going to write “WRD 204”

Step 10: Adding Paragraph Using P Tag

In between write any information you want to be seen on a web page, like picture, audio, video and paragraph for instance, for my example I’m going to write a paragraph by using this tags for paragraph :

Step 11: See Your Results

In order to see your results: first right click on the file and click “save” than click on a “live preview” icon on a top right corner.

Note: – anytime you make change and you want to see the result, first, you must save the file, you can use shortcut “Ctrl + S”

Step 12: Change the Formatting

If you want to change the size of text format, use

Step 13: Single/Double Line Break Tag

If you want to make a single/double line break between paragraphs, use tag

Step 14: Conclusion

Congratulations! now you can start building your own web page.

If you are interesting to know more about HTML Tags, I recommend this website

Be the First to Share

Did you make this project? Share it with us!

Responsive Homepage using HTML CSS

Hello, and Welcome Back. Homepage design is the first step for any website layout designer to create a website project for their customer. It is the most crucial segment of any website layout because the homepage is the virtual front door of any webpage, and it creates a deep impression among the visitors. If the homepage looks are esthetic or attractive, then there is a high chance that the visitors will be interested in scrolling further on the website and exploring more from it.

Today We will design a simple-looking responsive homepage using HTML and CSS. We will give it a responsive look with the help of CSS media queries. Now, this snippet is for absolute beginners who have already learned a bit of HTML and CSS. Those of you trying to make a website and wondering how to make a responsive homepage for it, then this snippet is for you. For this project, I used Poppins font, and you can use this font from Google font by linking the font’s URL in your HTML page.

  • Animated Background with Pure CSS and Html
  • Creative Pricing table design using Bootstrap
  • Awesome Bootstrap slider with Text Animation

In the CSS Part, I discarded the document’s default margin and padding by providing a margin and padding of 0 to the universal selector. I gave the wrapper class a custom width of 1170px and gave margin auto, so the navbar aligns perfectly at the center. I gave the header element a background image and blackish overlay effect on it with linear-gradient CSS function. Then I provided a 100vh height to it and gave it a relative position value. I then did some basic styling like positioned the logo and nav-area to left and right and made the navbar display inline.

I gave the welcome-text class width of 600px and height of 300px and gave it absolute position value for the banner text. I used the margin value to take the welcome-text content to the middle of the homepage. After that, I have provided some basic styling for all the elements in the welcome-text class.

For the responsive part, anything below 600px pixel width, we will get a nice responsive look of the design. I have changed some basic styling in the media queries, which you will get in the code below.

Responsive homepage using Html and CSS (Source Code)

To create this snippet, you need to create two files. One of them is an HTML file, and another one is the CSS file. After that, you need to copy the HTML and CSS code and paste the code to the appropriate files and save them.

Written by Stephen Roddewig

How to create a simple web page with html

Whether you’re looking for dining recommendations, ordering groceries, reading your favorite blog, or shopping for holiday gifts, the internet is the first place we turn to for information and convenience. Naturally, the best companies are positioned to catch a potential customer’s attention well before they ever walk through the door with a professional and seamless website.

It’s easy to talk about having a website, but if you’re a small business owner or fledgling entrepreneur, it’s hard to know where to start. Fortunately, we’ve broken down the process of how to code a website into a few simple steps.

Before we dive in, I wanted to take a moment to answer two common questions that many first-time website builders have.

Frequently Asked Questions About Coding a Website

1. How long does it take to code a website?

Answer: it depends on the complexity of your website. For example, it will take a lot less time to launch a basic homepage with your business’s address, contact information, and links to social media accounts than it will to build an online ordering portal that collects users’ shipping information and processes payments.

However, just because you save time in the beginning doesn’t mean that more advanced features aren’t worthwhile. It depends on your business. If you are only trying to get foot traffic to your store, then online ordering doesn’t make sense.

That said, you may miss out on customers that may not feel like driving to a physical location but would purchase through your website. If you don’t have the bandwidth to ship items to your customers, then that’s another good reason to pass on creating an ecommerce website.

2. Do I need to code my website?

Simple answer: no. While everyone was manually coding their sites in the early days of the internet, many websites are now built with a content management system (CMS). A CMS removes the need to code by offering a visual interface to build web pages and structure your site. Many CMSs offer drag-and-drop capabilities so that you can easily position elements (e.g. a button) where you want them on the page.

Our team has compiled a list of the best CMSs that I recommend reading if you’d rather avoid the custom coding route. If you’re ready to learn some code, let’s walk through this process together.

How to Code a Website

  1. Pick your code editor.
  2. Write your HTML.
  3. Create your CSS stylesheet.
  4. Put your HTML and CSS together.
  5. Code a responsive website or a static website.
  6. Code a simple website or an interactive website.

1. Pick your code editor.

Code editors are a great tool for new developers because they offer many features that make our lives easier. For example, Visual Studio Code (my choice) will offer syntax suggestions so you can avoid simple typos that cause issues in your code. On top of that, it will autocomplete closing tags for HTML and add visual markers to your files so that you can easily tell different pieces of code apart.

You can see the difference between a regular text editor and a code editor below. The code works the same in both documents, but one is much easier to understand at a glance than the other.

How to create a simple web page with html

As I said before, Visual Studio Code is my preferred tool, but there are many free code editors out there for you to choose from. Visual Studio Code has extensions that add additional functions to the editor (like switching from dark to light mode) and a dedicated user base that is constantly creating more, but the most important thing is that you have a code editor for these next steps. The brand is not critical.

Note: I will be sharing screenshots from Visual Studio Code, so it will be easy to follow along in this tool as we dive into coding in the next step.

2. Write your HTML.

HTML stands for Hypertext Markup Language. If that doesn’t make sense right now, don’t worry. Focus less on the definition and more on this picture: we’re building a house. The most natural place to start is with the foundation, walls, and roof because every house needs these before you worry about interior decorating or painting.

With HTML, we’re able to build this structure for our website. This is a metaphor I use when I lead HTML and CSS trainings, so we’ll repurpose it for this tutorial as well.

How to create a simple web page with html

Now that we have the right tool for the job and understand our goal, it’s time to dive into the reason you’re here: coding.

Create an HTML doc.

All of our coding will happen in different files that we save to our local machine. The first file that we’ll create is our HTML document. To start, make a new folder for your website files. Since I am demoing, I creatively named mine “demo.”

How to create a simple web page with html

Now open the folder in your code editor. Next, create a file named “index.html” and we now have our very first HTML file ready to go. Note that you do not need to name your file “index” but you do need to match the “.html” file extension. This tells our computer (and later our web browser) that this is an HTML document instead of a JPG, PDF, etc.

How to create a simple web page with html

Our file is currently blank, so let’s add the HTML document structure. I have laid everything out in the snippet below so you can copy and paste into your file (or write it out).

Let’s review each of these pieces briefly:

  • : A declaration to the browser that this is an HTML document type which will tell it how to process our code
  • : An opening tag to wrap all of our HTML so the browser knows where our code starts and where it ends (note the closing tag)
  • : An opening tag to contain all the nonvisible information about our web page, also known as metadata — we’ll go over this in the next part (note the closing tag)
  • : An opening tag to contain all the visible content on our web page — we’ll add elements to this later in this section (note the closing

Want to be a web developer and Technical geek? Welcome, to ThapaTechnical. Home of web developer and creativity. We make articles on Technology, Social cause, University Important topics and also u will get all videos source code and Notes for Free of ThapaTechnical YouTube channel.

  • Home
  • WebDevelopment
  • _Websites
  • __HTML and CSS
  • __Bootstrap
  • __JavaScript
  • _HTML5 and CSS3
  • _Bootstrap4
  • _JavaScript
  • Tech Articles
  • MobileComputing
  • Contact Us



“Honestly, I have no idea how to ask, but if you donate using PAYTM to support me, It’s gonna help me a lot.”

PAYTM NUMBER : 9518369954



This information is meaningful and magnificent which you have shared here about the website development. I am impressed by the details that you have shared in this post and It reveals how nicely you understand this subject. I would like to thanks for sharing this article here. ecommerce developer Singapore

how could we can get source code?

ye source code blod me meri id se acess nhi kara he

Your current account ([email protected]) does not have access to view this page.
Click here to logout and change accounts.

wow wonderful post..I am very much interested in this kind of blogs.this is truly helpful. Thank you so much for this interesting blog. Website Designer San Antonio

wow wonderful post..I am very much interested in this kind of blogs.this is truly helpful. Thank you so much for this interesting blog. Best Shopify Website Designs in USA

This blog has amazing information regarding this topic. The posts and blogs are very unique. Thank you so much for sharing the details. nidhi software company

Cascading Style Sheets or what is commonly referred to as CSS, is a display language used to enhance the appearance of the content in the site for example use of colors and fonts. Web Design

We have sell some products of different custom is very useful and very low price please visits this site thanks and please share this post with your friends. Website Design Agency

Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. nearest metro station to national museum

Learning the English language has become a necessity in these times, whether within the educational, business or commercial field.

I am constantly surprised by the amount of information accessible on this subject. What you presented was well researched and well written to get your stand on this over to all your readers. Thanks a lot my dear. content marketing agency

In this case you will begin it is important, it again produces a web site a strong significant internet site: resources

You wrote this post very carefully. The amount of information is stunning and also a gainful article for us. Keep sharing this kind of articles, ecommerce web development company in India Thank you.

The advisor should get what spurs a person to gloat and boast about themselves. The profound established issue is low self-esteem and an absence of fearlessness. People who truly got it moving on don’t need to brag. Márcio Miranda Maia

This is really amazing article. Thanks a lot for sharing wonderful information.ทางเข้า joker slot

I assume this is an informative publish and it’s miles very useful and knowledgeable. Therefore, I would love to thanks for the efforts you’ve got made in writing this article.
herbal products

Getting affordable web design services shouldn’t be a straightforward task. You should perform analysis on the very best companies that may do the job you want. In doing this, it’s best to be aware that the bottom price of net design providers does not mean one of the best quality. Also the most expensive doesn’t mean the highest quality. One thing it is advisable to do is to to begin with set apart a superb budget for the job to be done. Try to be ready to pay for the service in as much as your desires are met. Web Design Toronto

This can be a very informative and helpful post, very genuine and practical advice.Goldcoders hyip template

I might suggest solely beneficial in addition to trusted facts, and so find it: Taxi WordPress Theme

How to create a simple web page with html

A few weeks ago, Bootstrap 5 alpha version appeared on the market, and that’s why today I’d like to go through what’s new and create a simple web page using Bootstrap 5.

In April, we’ve published the article and video about Bootstrap 4 where we are showing you step by step how to build a simple dashboard, so if you missed that episode and article, go ahead and check it here:

Today, I’d like to show you how to build a portfolio website for a software house using Bootstrap 5.

Of course, as always, I have a video tutorial for you as well, so if you are a person who prefers to watch, then read, visit our Youtube channel:

Let’s start with what’s new in Bootstrap 5!

As the Bootstrap 5 Alpha is available from a few weeks, we are able o talk about the new features that came with the new release. Let’s go through the most significant changes.

  • Bootstrap used to use jQuery for elements like popup or tooltips. In the 5th version, it doesn’t use jQuery anymore. Instead, it works with pure Javascript.
  • Bootstrap 5 brings CSS custom properties, thank to dropping support for
  • Internet Explorer. Let’s take a look at the example with tables Bootstrap presented in their documentation:
  • Now, in Bootstrap 5 documentation, we can find another tab — Customization. It brings information about theming, customizing, and extending Bootstrap with Sass, more colors, and other options.
  • Fully customized form controls are another feature that came with the Bootstrap 5 version. From now, the design of the controls like checkbox or radio box doesn’t depend on the browser.
  • New Utility API for better control is another feature.
  • Besides that, the Bootstrap grid was enhanced, and now we can use a new class `xxl`, `gutter` was replaced with `g*` utilities; also, they removed `position: relative` as a default value for columns.

We can expect some more changes in the next releases.

So, I think it’s time to see how brand new Bootstrap version works.

Let’s start creating our website by creating a folder where we are going to place it, and inside that folder, let’s create an `index.html` file.

After opening our `index.html` file in your favorite code editor, let’s set the basic HTML file structure and all needed CDNs.

Ok, when that’s ready, let’s create one more file for the custom styles. Let’s call it `styles.css`, and let’s place it in the same folder.

Now, it’s time to start our building on our website. The first element we are going to create is navigation. Inside the `body` tags, we are going to use the following code.

We need a logo for our website. Find any image or icon you’d like to use as a logo, and place it into the assets folder in the website folder. I imported my logo, as a `logo.png` file, so make sure your import is correct to your image, and it’s location.

Next, we will add some custom styling for our navigation. Let’s open the `styles.css` file, and let’s add the following code.

Great, your menu is ready now!

The next step in building our web page is to create a hero section. Below the navigation code, let’s create a new section with the image, text, and three cards.

For this part, you’ll need an image, that I called `hero-img.png`, and three icons for the cards.

To make it look good, we still need to add some custom styles. So, let’s open our `styles.css` file and place there the following code.

Great now, your website should look like in the image below (just with different photos).

How to create a simple web page with html

The next element we are going to build on our web page is the About Us section. Here we will also add an image, so make sure you have one called `about-us.png` in your assets folder.

Let’s go to our `index.html` file, and below the hero section, let’s add the following code.

And viola, the second section is ready.

Now, the most important part of every software house page is coming. We will create a projects section, consisting of four cards in two rows.

Make sure you have another 4 images for this section in your assets folder, maybe you can use any of your own projects that you’d like to show.

Below the About Us section, let’s add the following code.

And some more CSS to make it good looking.

There’s just one more thing to finish our website. We will add a contact section, with some text. Let’s add the following code in the `index.html` file.

And the last part is to add the last CSS code.

Woohoo! Our Bootstrap 5 web page is ready now! Here’s the result of our code.

How to create a simple web page with html

Congratulations, you’ve just created a portfolio landing page using Bootstrap 5. If you’d like to create your own portfolio page, feel free to add your favorite images and texts, and you’re going to have a ready website.
If you’d like to learn how to build a simple dashboard in Bootstrap, take a look at our previous Bootstrap tutorial.

Besides that, feel free to join us at Duomly where we have a Bootstrap course, where you can learn how to build an e-commerce.

How to create a simple web page with html

Thank you for reading,
Anna from Duomly

We’ll explore how to make a simple comment box with HTML, CSS, and JavaScript in this post.

Open your favorite editor and type or copy-paste the below-given code. Save the file with HTML extension.

DOCTYPE html >
html lang = “en” >
head >
meta charset = “UTF-8” >
meta http – equiv = “X-UA-Compatible” content = “IE=edge” >
meta name = “viewport” content = “width=device-width, initial-scale=1.0” >
title > Comment Box title >
link rel = “stylesheet” href = “style.css” >
head >
body >

input type = “text” id = “comment-box” placeholder = “Enter comment” >
button id = “post” > Post button >
ul id = “unordered” >

script src = “code.js” > script >
body >
html >

In the above HTML code, we used the link tag in the head tag to reference the CSS file that we will use later. After this, in the body tag first, we initiated an input box where a user can type their comment. Then a button with the name of the post is initiated which will be clicked to enter a comment. After this, we initiated an unordered list (ul) and left it blank because we will add a li element from JavaScript in this tag. You can also see that we use the id attribute in the above code which will be used to reference the corresponding elements in JavaScript code. The last tag is the script tag where we passed the reference of the JavaScript file which will be attached to the current HTML file. The JavaScript file name is code.js.

Create a file with the name of style.css. It should be noted that you can name your file anything but remember to reference that name in the HTML file link tag. Copy and paste the below code in your CSS file:

body <
background : dodgerblue linear – gradient ( 45deg , aqua , dodgerblue , deeppink ) fixed ;

#comment – box , #post <
border : none ;
border – radius : 5px ;
#post : hover <
background – color : deeppink ;

In the above CSS code, first, we referenced the body tag of HTML and decorated the body background with different colors. Then using the id attribute of the input box, we vanished the border of the input box and gave it a radius of 5px. The same styling was applied to the post button. After this, using the hover property we set a background color of deep-pink for the post button which means whenever a user will hover over the post button its color will change to deep pink.


Create a JavaScript file with js extension for example code.js. It should be noted that the name of the file should be similar to the one that was referenced in the script tag of the HTML file.

In the code.js file, first, we get the HTML button element using getElementById() method and pass the name of the id given to the button in HTML. You can also see an event listener attached to the post which is basically the button element. This event listener will continuously listen and whenever a user clicks on the post button the function within the Event Listener will be executed.

var post = document. getElementById ( “post” ) ;
post. addEventListener ( “click” , function ( ) <
var commentBoxValue = document. getElementById ( “comment-box” ) . value ;

var li = document. createElement ( “li” ) ;
var text = document. createTextNode ( commentBoxValue ) ;
li. appendChild ( text ) ;
document. getElementById ( “unordered” ) . appendChild ( li ) ;

In the Event Listener function, first, we are getting the value of the input box and after that, we created a li element. To set the text of the li element we used createTextNode and after that using the appendChild method we provided the text to the li element. At last, using the appendChild method we are providing the unordered list of the li element we just created.

How to create a simple web page with html


HTML, CSS, and JavaScript are the building blocks for a web developer and many websites are developed using these three technologies.

In this post, we provided you with the code and explanation of the code on how to create a comment box using HTML, CSS, and JavaScript. This project will come in handy when you are making to-do lists, comments on a web page or feedback forms as well as attach text to a page in any web project.

Creating a Simple Web Page

There are many ways to create Web pages. Hundreds of companies have created tools to help with the process in one way or another. Our goal here, however, is to understand how Web pages really work, rather than have a tool hide the process from us. Therefore, we will use the simplest tools possible — the ones already on your machine.

On your machine you have a program, or application, that can create simple text files. On Windows machines, this application is called Notepad. On a Macintosh, this program is called SimpleText. If you cannot find these programs, it is also possible to use a basic word processing program, like WordPerfect or Microsoft Word.

  • Note:
  • In a Windows 95/98 environment, click the Start button, click Programs, click Accessories and click Notepad.
  • In a Windows 3.1 environment, click Accessories (in the Program Manager) and click Notepad.
  • In a Macintosh environment, click Macintosh HD, click Applications and click SimpleText.

Once you have the proper program open on your screen, type (or cut-and-paste) the following HTML text into the window:

Whether you put the tags and text side-by-side, row-by-row or indented will not make a difference in how the text is displayed in a browser window. Whether you use uppercase or lowercase letters within your tags also does not make a difference.

Now you need to save this file somewhere so that you can find it in a moment. Save it to the desktop, or, better yet, to a directory that you set up to hold all of the pages you are going to create. Save it to the filename first.html.

Next, open the page in your Web browser (e.g., Microsoft Internet Explorer or Netscape Navigator). All Web browsers have a way to open a file stored on the local machine. In Internet Explorer and Netscape, select Open File from the File menu at the top of the window. Open the file first.html. When you open it in your browser, it will look something like the image above.

Three things are identified in this figure:

  • You can see that the page has the title “My First Page.”
  • You can see that the page’s body contains the words “Hello there. This is my first page!”
  • You can see that the URL being displayed in the address window is C:WINDOWSDESKTOPfirst.html from the local hard disk, rather than the usual http://. that a URL would contain if we were receiving the page from a server on the Internet.

By looking at the HTML text that makes up your first page, you can see exactly how the page got its title and body.

Now that you have created and viewed your first Web page, you are well on your way to becoming a Web page pro. The key to knowing everything about how a Web page works is to learn more and more of the HTML tags that let you customize your pages. You’ll also want to learn about tools that can help you create tables, frames and graphics for your pages. This Web page series will guide you through all of the information you need.

Updated April 23, 2022

What are the different types of programming languages?

Programming languages for websites fall into two major categories, namely Frontend and backend. The language use for program a webpage for the Frontend are HTML, CSS, and JavaScript.

Frontend Languages include:

  • HyperText Markup Language (HTML) – This language is used to format web pages and organize elements on a web page. It is made up of opening and closing tags that each has a specific task. For example, the title tag is used to write the web page’s title in the address bar.
  • Cascading Style Sheets (CSS) – As the name suggests, CSS is used to style web pages. For example, you can use CSS to define the website font, font size, colors, etc. CSS can be written in one file and reused over and over on numerous elements on a webpage.
  • JavaScript (JS) – JavaScript is used to make websites more interactive. Let us say you have created a button, and you want it to display a message when it is clicked. You can use JavaScript to write that functionality.

Backend languages

The backend can be coded in any language that supports web development. You can use JavaScript on the server-side using NodeJS, Python, Ruby, or PHP. One of the most commonly used program for web site development is PHP. In this guide, we will focus on PHP as the scripting language.


PHP stands for Hypertext Preprocessor. Unlike frontend technologies which execute in the web browser, PHP is executed on the webserver. It is commonly used to perform activities such as register users, authenticate users, send emails, etc.

In this tutorial you will learn:

How to Code a Website – Complete Beginner’s Guide

In this comprehensive guide, we will teach you how to make a website from scratch and write all the code yourself, or you can use an existing platform such as WordPress or Joomla, etc.

We will cover the following topics in this complete guide.

  • Creating from scratch Vs. using a Content Management System
  • Creating a website from scratch using a framework (PHP MVC Framework)
  • Creating a website using a Content Management System (WordPress)

The basic concept of HTML

An HTML document is a text file that contains HTML tags and elements and usually ends with a .html file extension.

HTML can also be embedded in other scripting language file extensions such as *.php, *.jsp or *.asp.

Web browsers parse HTML documents to display Web pages. You can view the HTML that makes up the webpage in the web browser.

Here, are steps helps you create a website:

Step 1) Right-click on the web page to display the pop-up menu.

How to create a simple web page with html

Step 2) Select View page source.

How to create a simple web page with html

Step 3) The HTML code will be displayed in plain text, and you can see the HTML tags and elements that make up the page.

You may also see some CSS and JavaScript either embedded or included as separate external files.

How to create a simple web page with html

The function of the web browser is to translate the HTML document into a human-readable format. The browser also processes the JavaScript that is included within the web page.

Understand HTML Document Structure.

Suppose you have created a word document before. In that case, understanding the structure of an HTML document will be quite easy for you. In a word document, you will have the document title, clickable table of contents, the content sections formatted differently, and the footer. An HTML document’s structure is more or less the same as the word document that we just described.

All HTML documents are enclosed in the HTML tag. Within the HTML tag, you will have other tags such as head and body. The header tag contains other tags, such as the title for displaying the page title. It also includes links to external files for CSS styles, JavaScript, and metadata. The body tag contains the elements that make up the webpage. The elements within the body tag can be div, tables, lists, etc.


  • defines the document type which is HTML
  • … defines the HTML tag with a language attribute which specifies the website language.
  • In this simple example, the website language is English. Within the open and closing HTML tag, we will have tags such as head and body, which in turn enclose other tags and elements.
  • … defines the head tag that contains metadata within it.

How to use cPanel’s built in Site Publisher tool to create a simple one page website

If what you need is a single page site (for example, a resume or a placeholder while a larger site is in production), cPanel offers a simple system called Site Publisher that allows you to choose a design and enter basic content.

(Note: This page assumes that you’ve already created a account and logged in. See cPanel, Free campus web hosting at for more information on getting started.)

Under the Commonly Used Features divider, choose Site Publisher to get started.

The domain will be set to match the account you’re currently logged in to, and you’ll be given the choice of which design you’d like to use.

  • The Illinois Personal theme offers an Illinois-branded single page site.
  • The Under Construction theme offers a placeholder while you’re working on a more complex site that’s still under development.
  • Choose a template that appeals to your needs.

How to create a simple web page with html

The customization page you receive next will depend on which of the templates you selected. In this example, these are the customization options provided by the Under Construction template.

How to create a simple web page with html

After you fill these in and select Publish, you’ll be given the option to make another site or view your site’s files.

If you choose to view your site’s files, you’ll be taken to the File Manager’s view of your public_html folder, where Site Publisher will have created an index.html file and some other files related to the themes and visuals. From this point onward, you’ll interact with the files using your preferred editor rather than the web interface, unless you want to “republish” a different site over it.

Note: You can republish if you wish, but Site Publisher will overwrite any file that shares the same name, including your index.html, in the process.

Editing your one page site with File Manager’s built in text editors

If you want to edit your pages within the web interface, select and right click on the file you’d like to edit. In this case we’ll be looking at public_html/index.html.

How to create a simple web page with html

The Edit and HTML Edit options will both let you edit a text-based file within a browser window. Both are available from the right click menu and from the gray navigation bar.

Note that the names can be considered “backwards:”

  • The Edit option takes you into a code view of the file. (This also allows you to edit non-HTML text files, but can be harder to read.)
  • The HTML Edit option takes you into a graphical editor view of the file, not a code view. Many people will find this the more user-friendly option.

In both cases, there is no auto-save option; remember to click Save Changes frequently.

When you save your changes, the changes will be visible in your website.

Today is a mobile-internet era. Users love to surf net on their cells.

So, it’s been a hike in mobile web users year by year. Therefore, more focus is required to make your websites mobile-friendly.

In this aspect, your form should be user friendly on small screen too. Whether it’s about website login or signup process or completing purchase order, giving good user experience on small screen is the key.

Below is our complete code with download and live demo option

How to create a simple web page with html

You are acquiring traffic on your site from different devices. So, it’s best to design your forms compatible for all devices.

You can have a basic idea that shows how to create responsive form for your site.

Here is a codes for creating responsive form:

Note : we have used special link tag in which media is used to define the screen size for a particular css, that will be implemented in that.

Responsive Form Code Details

HTML File – resform.html

CSS Files –

Below is our HTML styling in which we have used different css files that works based on screen sizes.

CSS for screen size greater than 1200px

1. responsiveform.css

2. responsiveform1.css

CSS for screen size (max-width:1200px and min-width:601px)

3. responsiveform2.css

CSS for screen size (max-width:600px and min-width:351px)

4. responsiveform3.css

CSS for screen size (max-width:350px)

It’s good to put forms that adapt to varying display sizes, on desktops, laptops, tablets and phones. This was all about making your form responsive with HTML/CSS. Keep reading our other blog posts for getting more coding tricks.

Go through the following stuff and collect more related information –

1 Minute, 47 Seconds to Read

In this tutorial, we’re showing you how to interact with a MySQL Database using php. We’re creating a simple 2 page website that allows users to post comments on either page, and then shows all comments that have been posted. In our previous article we created a database and setup a table to hold those comments, and now in this article we’ll setup a HTML form that allows a user to enter comments.

A quick introduction to HTML Forms

Gathering the Form Data

An HTML form allows a user to type data into a website, and then it submits the data to another page for processing. For example, if you fill out a comment on a website and hit submit, everything that you typed in is submitted to a script on the server that writes your comment to a database.

HTML forms can handle quite a few different forms of input. For example, they can handle:

  • Text Boxes:
  • Radio Buttons
    Option 1
    Option 2
  • Checkboxes
    Selection 1
    Selection 2
  • … and more!

Submitting the Form Data

After the user has filled in the above data and clicks a submit button, it will send all of their data to another script for processing. It can either send the data back to the same page for processing, or it can send it to a completely different script to handle the processing.

When the data is passed to a script for processing, it can be passed using either GET or POST. When using GET, all the data is passed in the url, such as:
GET[email protected]

As you can see, my name and email address is passed in the URL. If you use POST (instead of get), the URL will simple read:

… and my name and email address will be passed behind the scenes.

Our Example Contact Form

Because our comments form is going to be relatively simple, we will be using text boxes for most of the input. Below is our contact form and what the contact form will look like:

In this article we’re going to look at a variety of options for building simple mobile websites with CSS3. Note that these techniques won’t work with all phones but if you only need a mobile site for a few devices, these tips could to the trick.

Before we get started, be aware that due to the restricted viewing space, a mobile website is generally one column of data, with the exception of simple tables and small buttons side by side. It’s not a good idea to try and cram a lot of data into that space.

If you use PDF documents as part of your layout, I recommend reformatting them into a single column of data, no more than 480pixels wides. If you don’t despite using a PDF reading app, it may be hard to see on a mobile device.

For the sake of simplicity you could build an icons based layout, a windows based layout or a combination. there are some other choices, though these would result in a simple site that’s effective.

Here are some layout examples:

How to create a simple web page with html

Here’s an example of an icons based layout. This was created using the GoMobi CMS)

How to create a simple web page with html

This is an example of a page that you would see on a mobile device, using the GoMobi CMS.

How to create a simple web page with html

Mobile Layout Tips and Tricks

How to create a simple web page with html

Note that technology has been changing rapidly. Not that long ago there would have been a clearer deliniation between mobile devices and tablets. That line is being blurred with some of the new smart phones entering the markeplace. An example is the Samsung Note, which is a large phone that looks like a hybrid of a tablet and phone. This being the case, it would be wise to create layouts where the maximum pixel size would be 800 pixels for a tablet, rather than, say, 480 pixels for an iphone in landscape mode (this doesn’t take into account the iphone 5.

How to create a simple web page with html

Another option is to build a mobile site using jQuery, which creates a mobile layout that’s really easy to use. Overall, this would be my favorite approach because you can build out a layout quickly. And after you’re done, you can make use of PhoneGap for building apps, such as the iPhone, Blackberry, etc.

Other Layout Options

If you don’t have Dreamweaver, you can still build a mobile layout, though it might not have the flexibiliyt that you’re looking for. Bear in mind that what you do won’t work on all mobile devices. Still, these tips will help you get a better result. At the end of this article, and for further reading, I’ve provided links to mobile website software and articles to get you started.

Here’s a bit of code, from Apple, designed for the iphone and the reason you would use it is to prevent zooming.

Use simple HTML

Since you’re dealing with a narrow viewing space, you’ll want to use simple HTML. Here’s a code example from Adobe Dreamweaver CS6

Today every company had to have a website, it is something like having a telephone number or a company address. A lot of companies do not have yet a budget for making a website, they think it is very expensive, and they are right. If you use a web developer in Europe you will need a couple of thousands of Euros to make a simple website to present your company.

In this article I will give a simple tutorial how to publish your database report without the need for a web-developer, something simple but yet very powerful, with your Microsoft access database.

This method is best way for web designers, who know how to make a web page in HTML, but do not know how to connect it with the database, without using PHP or ASP.

First step: create your report page

To show your report online, you will need a database access file and a HTML file which will show the report or the query results.

We will create the databse in Microsoft access, I will create a database and name it as biblio and create a table and name it Titles, we will make these fields:

  • ID as number data type which will be our primary key also.
  • Name as text data type
  • Publisher as text data type
  • PublishYear as text data type

I will fill it with some data and save it, and we have a database file.

If you have a design for your report you will need to slice it and make a HTML page, you can use GIMP on linux or Photoshop on windows, then use any HTML editor or text editor to make the HTML code.

I will use a simple example using WhizBase Server Pages (WBSP) to develop this report. WBSP is a very powerful tool for publishing databases online with a very simple code, it is not like classic web programing languages.

Create the header:

Every WBSP page have a header, it is a place where we put some information needed by the server, everything we write in this section will not apear in our page. This section contains the variables that are essential for processing WBSP file. Here you put information about the database, recordset, template, error template, log file, redirection, etc. We will simply say for the server to connect to our access database and select a table, list for example 10 records only and make a pagiation.

[FormFields] is the starting tag for the section, when the server sees this code it will start receiving our commands. wb_basename=biblio.mdb is our database file, I have putted our database in the same folder as my HTML file so I am calling it directly. The server will look for the file name what ever we give as a path for it after wb_basename and connect to the database file. To specify which table we will select we use wb_rcdset=Titles , as you see I will select the table Titles . We told the server which database file to connect and which table to select, now we need to tell it what to do, and in our case is query, using the command WB_Command we give it a value Q and we did it. Finally we want to limit our results, let us show 10 records by page. We can skip this line and it will list the whole table, but what if we have a table with 10 000 records or more, do you really want to show it all in one page? So we will use WB_MaxRec=10 and that is all what we need. Now give the server a simple comment like command which says to the server begin interpreting the template.

Create the body (template):

After creating the header setion we have to create the template, and that is very simple, it is our HTML code with simple lines of WBSP code where we want to show our data.

Hello, friend’s how are you doing, today in this blog of HTML & CSS and project we are going to How to Create a Music website using html and css . ado let’s get started.

There are lots of websites with lots of features on the internet and of course, we have made. All the website has different features and specialty. But many websites have limited colors that’s why people always feel bored by the limited color on the website right? that’s why in this HTML CSS project in our today’s website.

Let’s have a look at the given image of our website design. On the top side, we have a navigation menu bar, a home section with some text, and a beautiful button. At the right side of the navigation menu bar, we can see an icon that is for switching the website.

Download Now

How to Create a Music website using html and css : Video Tutorial

In the video, you have seen the demo of a How to Create a simple animated portfolio using html and css only and knew how I created it using HTML & CSS. I hope you’ve understood the codes and concepts behind creating this Create Personal Website Using HTML & CSS.

In the CSS codes, inside on event, first I got the All Text H3 of the Name. Name Section ready property Display. After I got the clear Name Display, Then Adjust Img what where You want the Set Cover of Position.

I have only explained only main things on this blog but in the video, I have explained each CSS line with written comments. If you want to understand which line of code is doing what then please watch the above video

You might like this:

(1) How To Create A Simple Animate Portfolio

(2) How To Create A Music Website

(3) How To Create A Gallery Section

(4) How To Create A Glassmorphism Effect Clock

How to Create a simple animated portfolio using html and css only [Source Codes]

Creating Calendar Card UI Design | Glassmorphism – HTML, CSS & Javascript. First, you need to create two Files: HTML & CSS files. After creating these files just paste the following codes into your file. You can also download the source code files of this Creating A Personal Website Like Black Color. from the given download button.

First, create an HTML file with the name of index.html and paste the given codes into your HTML file. Remember, you’ve to create a file with .html extension.

That’s all, now you’ve successfully Creative Fancy Loader HTML & CSS. If your code doesn’t work or you’ve faced any error/problem then please download the source code files from the given download button. It’s free and a .zip file will be downloaded then you’ve to extract it.

21/02/2020 &nbsp &nbsp By: christoper unum

How to create a simple web page with html

Building a websites that fits on all screens can sometimes be nerve-wracking. One of the reasons i chose web development was the fact that you could write code and run it on either mobile phone, tablets or desktop computers. In this tutorial i will be creating a simple responsive design using media queries that works on all screens. click here to check it out


Basic knowledge of HTML and CSS is needed to understand the concepts in this tutorials.

In our HTML , three blocks of text (block1, block2 and block3) with some dummy text added in them have been created to be used for the responsive display.

Don’t forget to insert viewport meta tag that enables your website to be responsive

styling the html

After applying the styles we get something like this on the desktop

How to create a simple web page with html

In the CSS code above you’ll find out there are two media queries added to make the blocks responsive. media queries work like if statements, they apply different styles to selected element within a specific range of width.

Lets look at the first media query

the styles in this media query applies whenever the width of your browser ranges from 0 or any media query less than 887px to 887px, this media query actually suits tablets. The first block now has a 100% width, which is the entire width while the second and third block both takes a new width of approx. 50% which is almost half of the width. Below is an image of a screen within this range

How to create a simple web page with html

Now lets look at the second media query

the styles in this media query applies whenever the width of your browser ranges from 0 or any media query less than 500px to 500px, this media query actually suits mobile phones. Here all blocks receive a 100% width. Below is an image of a screen within this range

How to create a simple web page with html

with all the media queries applied, screen space is been utilized and it makes it convenient for your viewers to view your content properly on any device they may have.


media query are actually fun to play with, once you get familiar with the concept, you can create really great websites that work on all screens.

What is 8b?

8b is a free and simple online website builder that lets anyone create fast, mobile-optimized and Google-friendly websites in minutes.

For whom?

8b perfectly suits people with no programming knowledge, but wanting to have an effective web presence.


Easy, no coding site creation. Modern and beautiful templates. Unlimited hosting, domain, SSL, Google AMP, SEO, PWA, site export .

Create a website in 3 steps

Choose a template

8b offers a lot of beautiful templates based on popular topics. Choose one to start creating your website.

Edit your website

Edit and style your website the way you want. Flexible settings make web design easy for even the most novice.

Publish easily

Quickly publish your website, connect domain and submit to Google. Get your website online in a few clicks!

Easy and Simple

User-Friendly Interface

8b Simple Website Builder provides a lot of customization options in order to make your website look as uniquely as possible. Easily change texts, colors, replace images and videos, set your own backgrounds and much more.

Create your website on the go using your mobile phone or tablet. You can use 8b Easy Website Builder wherever you are – you just need the internet connection and your web browser.

Latest Trends

Modern Designs

You can make your website look modern without putting much effort. You will wow your website visitors with outstanding trends going around in the web design field.


Responsive Websites

Websites made with 8b fits the screen of the device it’s viewed on. You don’t need to do any manual tweaking to make your website responsive and mobile-ready whatever device your site visitor uses.

Website Security

HTTPS SSL Certificate

With 8b Easy Website Builder, you get SSL Certificate with HTTPS for your website automatically. There is no need to care about it, 8b got your website set up securely with no hassle at all.


Fast Google Ranking

Once your site is published, submit it to Google by one single click. Get higher ranking results because Google loves fast, secure, and mobile-ready websites like yours.

Custom URL

Connect Your Domain

Use your own subdomain name for * or connect your own domain name to your page with just one click.

App Design

PWA Support

Turn your website into a mobile or desktop app in one second using PWA support (Progressive Web Applications).

Site Translation

Multilingual Websites

Don’t even think about creating multiple language versions of your website manually: 8b made it simple for you to make a multilingual website in no time.

Mobile Experience

Latest Google AMP

8b Website Builder uses the latest version of Google AMP (Accelerated Mobile Pages). It cares a lot about your website’s mobile experience and performance improving the page load time.

Website Export

Download Your Site

Get all the files of your website by hitting the “Download ZIP” button. This enables you to manage your site files manually and upload them on whatever hosting you want.

Easy to Use

8b Simple Website Builder is based on the drag and drop approach. This means you just drop sections onto the canvas to work at it as conveniently as possible. Use side panel to add new blocks, edit and design existing ones by toggling options on/off, dragging sliders.

Lightning Fast

Your website built with 8b Easy Website Builder will load surprisingly fast because of its Google AMP basis. It improves user experience and thus increases your traffic and conversion for your website. With 8b you will no longer make your site visitors wait for the content to appear.

Free Website

8b Simple Website Builder is free for both commercial and non-profit use. Sign up to get a free access to all themes and user-friendly website editor to create something unique and beautiful without spending a single dollar.

Online Editor

8b is an online website builder what means you can use it on the go in a web browser having just your regular smartphone or tablet. Work on your website from wherever you want.

Google AMP

8b Easy Website Builder incorporates the cutting-edge Google’s AMP (Accelerated Mobile Pages). It’s 100% mobile-friendly and ulta-fast making your website rank and perform as effectively as possible.

Unlimited Pages

Use this Simple Website Builder to create as many web pages and websites as you desire. With your account, you get unlimited high-performing storage and CDN.

8b is free for both non-profit and commercial sites, create responsive sites in few minutes! Try now:

Start With Template

8b offers the latest themes and templates for you to design and generate your own unique websites as you wish. Click on a template you like to start creating your website!

Modern sections

Build your website section by section like you would build a lego house stone by stone and you know how exciting it is. Sections provided by 8b Website Builder are flexible and customizable so that you can shape just like anything out of them and make your web page look incomparable.

HTML5 includes a host of new input elements, such as the output tag. Using the output tag in conjunction with the “oninput” event listener, you can create simple or complex Web page calculators, giving the user instant results. The output tag allows you to build forms using semantic markup, since the element is specifically designed for displaying calculation results.

In this tutorial we will create a simple Web page calculator to demonstrate using the output element. Many of the new input elements are not well supported, but the output element is supported in all current major browsers except Internet Explorer. We will also be using the “oninput” event attribute, which is supported in all recent versions of the main browsers.

Create an HTML5 Page

Use the following outline to create your HTML5 page:

We have sections for styling and scripting in the head, and our form elements will sit within the body.

Create a Form

Let’s create our form. Start with the outline:

Our opening form tag has an ID for identification in JavaScript and an “oninput” event listener attribute. The browser will call the specified function when the user alters the form input values.

Add two input elements for numbers inside your form element:

Leave a space between these as we are going to add a further element next. Notice that the two input elements have number types and names for identification in the script.

Let’s allow users to choose which operator they wish to use in their calculation. Add a select element between the two number input elements:

You can use the HTML entity references “×” and “÷” for your multiplication and division signs.

The select element offers addition, subtraction, multiplication and division. To make sure the output element is updated when the user chooses an option, as well as when they alter the number input values, we add the “onchange” event listener attribute, calling the same function we call from the form “oninput” attribute. We are using incrementing integers as the values for the select options, so that we can tailor what happens each time the calculation is performed, making sure the output reflects the operator chosen.

Add an equals sign in a dedicated element so that we can style it effectively, after the second number input:

Finally, let’s add our output element, after the equals sign element and still inside the form:

Notice that the element has a name for identification in the script and a default value to display. The “for” attribute indicates which input elements the output relates to, using their name attributes.

Perform the Calculation

Now we can implement the JavaScript function for calculating results. In the script section in your page head, add the following function outline:

Inside the function, first retrieve a reference to the form element:

Now use this to gain access to the output element:

Retrieve the current values in each input element as numbers:

Note: the “valueAsNumber” property can be used instead of parsing input as integers as we have done here, but the technique doesn’t yet enjoy full browser support.

Let’s now find out which operator the user has selected:

Remember that we simply used integer values for the select options, so we can use a switch statement to tailor the output:

The calculation is tailored to the chosen operator. Notice also that with division we are opting to output a particular precision, so that only one digit will be displayed following the decimal point.

Style the Calculator

This is of course optional, but let’s style the calculator – here is how it looks in Firefox:

In certain browsers the number inputs will appear with arrows so that the user can increment and decrement the values without having to manually type them. This is the calculator in Chrome:

And it’s different again in Opera:

The elements appear pretty differently across browsers, which is worth bearing in mind when working on your page designs. In your head style section, add the following declarations which you can naturally alter:

That’s our basic calculator complete, so open your page in a supporting browser to test it.


Like many HTML5 developments, the output element does not introduce particularly new functionality to your pages, but alters the ways in which you can achieve certain results. By choosing a semantic element, your pages will have a level of meaning built into their structures.

About the author

Developer Drive is a quality Web development blog featuring tutorials, tips, news and reviews on things that matter to developers. We cover the latest trends and techniques such as CSS3, HTML5, WordPress, responsive/mobile design and much more.

March 29, 2021

An image carousel is a container (slideshow) of images or info that users can select by clicking a button that directs them forward or backward in the slideshow. An image carousel makes a website more interactive by enhancing the user experience.

The collection of images can be automatically changed using a timer or manually when the user clicks the displayed buttons.

The goal of this tutorial will be to add an image carousel to a website to improve the user interface. We will achieve this using basic HTML, CSS, and JavaScript.


To follow this tutorial along:

  • The reader should have basic knowledge in HTML, CSS, and JavaScript, especially the use of functions in Javascript.
  • The reader should have a code editor installed. My recommended code editor is Visual Studio code.


Step 1 – Creating a new project

Open Visual Studio Code and make a new folder. In that folder add three files ending with the .html extension, .css extension, and .js extension for the HTML, CSS, and JavaScript files in which you will type the following code snippets.

Step 2 – Writing the HTML code

HTML is like our code’s skeleton, it will lay out the frame of our work onto which we shall continue modifying by using other languages.

In this step, we will define containers with our images using the

We will also define the small circles at the bottom of the carousel. The code has comments for one to follow through. Dive into the HTML file and write the code as illustrated below.

Step – 2 Writing the CSS code

In the CSS file, we will style our HTML. We style the containers for the images, the buttons, and the small circles (we will call them navigation circles). We will also position them in the desired places using the various CSS properties. The code below has comments for one to follow through.

Step 3 – Write the JavaScript code

In this step, we will define the functions we had linked to our buttons in the HTML file. We will also include a timer so that our image carousel displays images automatically like a slideshow. Type the JavaScript code below in the JavaScript file.

Remember to link the .css file and the .js file to the HTML file. To remind yourself how, click here for CSS or click here for JS.

Also, ensure to have the images you would like displayed in the carousel, in the same folder as your three files to enable quick and easy access

To make the carousel change images automatically without user input, we need to modify our JavaScript code. In this code, we will include a timer of 2 seconds.


One can test whether the code works by navigating to the folder where the project is stored and opening the HTML file using any browser. The code should work just fine. Check out a sample of an image carousel illustrated below from Usain Bolt’s website.

How to create a simple web page with html

Access the tutorial’s code on Github.


In this article, we have learned how to implement an Image carousel on websites. An image carousel can view various images or videos by scrolling left or right hence getting an overview of the website.

Image carousels are essential in websites because they improve the user interface and experience of a website. Image carousels are a great way to show content cards.

STOP! Even though you can create your site on your computer for free, you cannot launch your website until you have a domain name and hosting.

Yes, there are places to get free websites but you don’t own them and they are harder to get ranked in Google.

Never, ever make the mistake of creating a free website like I did years ago. It was one of my biggest regrets.

OK, enough about me. Let’s get on with the tutorial.

All You Need is a Computer and Notepad

If you create a static HTML website, you don’t actually need any software. You can make the site right from your computer for free using Notepad or TextEdit (Mac).

WAIT! If you’re not interested in manual creation, skip here to learn more about WordPress and other website creation options. Or if you want to take course on manual creation, click here.

Creating a Basic HTML Web Page

Open your text editor and insert the following code. Just copy and paste the info below into your empty file.

Now Save As and make sure you select All Files under “Save as Type” and save the file with an .HTML extension so it looks like index.html. This is going to be your homepage.

Now open this file with any web browser and you should see a clean white page that says This is the body of your website.

Believe it or not, that is all you need to create a basic web page. Now, of course it’s going to be incredibly plain and unattractive, but you get the idea.

Notice the line that reads “Search Engine Title Goes Here.” That is the title that the search engine displays when your site is listed and ranked in Google, Bing, etc.

This is where you want to insert the phrase that you are trying to target and get ranked for. Be sure to check the link above for help on search engine optimization.

Adding CSS

Now to jazz up your page, you’ll want to use CSS. This stands for Cascading Stylesheets and it’s a very good way to make sure you use consistent styles throughout your website.

It also makes it easy to update your fonts, colors, etc. across all your pages at once.

Don’t worry. I know it sounds complicated but I’m going to give you the code and you’ll see how easy it is to tweak it.

To create your stylesheet, just open another blank text file and name it style.css. Be sure to save it in the same location (folder) on your computer as your homepage file.

Now add a line before the in your HTML page that reads.

So the code for your index.html page will now look like this.

This tells the browser to look for the stylesheet when loading the web page.

Creating a 2 Column Web Page

Now, let’s create a 2 column page using CSS. Below is the code you will paste into your style.css file.

Notice there are 5 sections to your website.

3) Sidebar (left column)

Most of the sections are probably self explanatory. The Container is the area that holds your site.

If you want the entire width of your site to be 1000, you would change the 900px to 1000px. Just remember to change the size of the rest of the variables so everything aligns.

And the stylesheet defines the width and other variables for each section. If you want to change the background color of the body, you would change #ffffff to another color.

Take some time to tweak the stylesheet how you want it.

So now you can add the following code to your filename.html (homepage) and replace

This is the body of your homepage

So here is your complete homepage code.

This tells the browser to read the style from your style.css file. So each section of your site will use the styles provided in your stylesheet.

Now when you open your homepage, you should see something like this.

How to create a simple web page with html

You can adjust the section widths, heights, colors, etc. in your stylesheet to get the look you want.

Adding Font Styles

If you don’t add any font styles or sizes, the browser will just display the person’s default fonts on their computer (usually Times New Roman).

However, with CSS you can tell the browser what font style and size you want for each section of your website.

So if you want the paragraph text in your content area to be 14px and use the Arial font then you would add the following code to your stylesheet right after the #content section.

So your #content area should look like this now.

Now anytime you add paragraph text (make sure you surround your content with

), it will take on the style you identified in your stylesheet.

Changing The Link Colors

By default, links are blue, but you can follow the same format above and change the color to whatever you wish.

So if you want your links to appear red in your content area, you would add this to your style.css file.

#content a or you can use the hex value and declare it like this.

The a represents the link color. Now when you add a link to the content area using this code.

This is a link, the link will be red.

Rinse and Repeat

So now that you know a little bit about creating styles for your stylesheet, you can apply this tutorial to any section of your site.

That means if you want to change the font color and size of your header, navigation, footer, etc. just follow the example I used for the content section.

Check out some more html templates you can download.

Want a More Advanced Course?

This page covered the basics, but if you want to really step up your web development skills, consider taking a course. This is one of the most popular web development courses online. You can sign up here.

How to Publish Your Site to The Internet

Once your website has been created, you need a web host to publish it to Internet for the world to see.

Then you can FTP (upload) your pages up to your site. However, if you use WordPress (below) you won’t need to do any of that because it has its own publishing platform built in.

Other Creation Options

If you are not into manual website creation, there are other ways that will not require you to tweak so much code or manually upload pages.

1) Artisteer is a design tool that will help you build a website by using a very user-friendly interface. You simply tweak the pre-loaded templates and no coding is needed.

This is definitely for people who don’t care to learn much about HTML and would rather spend time working in a more visual mode.

Here’s a video on Artisteer here.

2) Dreamweaver is another option, although this software is more advanced and assumes you want to learn HTML and CSS. I used Dreamweaver to create this site.

3) WordPress is a dynamic platform for creating blogs or websites with comments and other functionality.

It comes with templates so you don’t have to create your own, and the plugins will help you do so many different things with ease.

A Note About Multi-Column Websites

Years ago, 3 column websites were all the rage because they gave the website owner more real estate for advertising and more.

However, times have changed with the trend moving toward simplistic designs.

If you liked this, please share. Thanks!

Visitor counters keep track of how often a website is accessed, and usually display the number of visitors at the bottom of the homepage. While the visual output of the user data generally only serves a representational purpose, many website operators also use the discovered visitor numbers for web analytics. Most rely on the integrated web counter possibilities from content management systems or homepage building sets for this, or purchase a counter from one of the various online providers. These solutions commonly use the counter pixels known from logfile analysis or similar JavaScript applications, which record specific information about individual users as well as the number of visitors.

So that you’re not dependent on an external service provider, and to stay on the safe side with your privacy protection, you can choose to create your own visitor counter instead, and run it on your own web space. You just need a database or text file, as well as basic PHP know-how.

  1. How do downloadable web counter solutions work?
  2. Create your own visitor counter – a tutorial
    1. Configure MySQL database for web counters
    2. Create the appropriate visitor counter PHP function
    3. How the finished PHP script looks
    4. Integrating the script in the HTML documents
    5. Presenting the visitor count on the homepage

Register great TLDs for less than $1 for the first year.

Why wait? Grab your favorite domain name today!

How do downloadable web counter solutions work?

The easiest way to integrate a counter onto your website is undoubtedly by downloading a finished script. Fee-based and free visitor counters are primarily separated by their performance range. If you decide on a paid version, you usually will also receive visually prepared statistics with information that goes far beyond the mere traffic stats. How detailed these pieces of information art depends on whether recording visitor activities happens solely on the server side, or on the client side as well. In both cases, though, the following standard parameters are included:

  • Time of access
  • IP address of the visitor
  • Client of the visitor
  • Source URL

Depending on the configuration, the server can assign a unique identifier (session cookie) to each individual visitor on their first access. In the visitor counter statistics, you can observe whether it’s the first page visit for a user, or if they’ve accessed multiple pages. With the help of JavaScript or Adobe Flash on the client side, you can also increase the amount of information gathered. For example, tracking reveals which operating systems and which browser extensions the visitor used, or what screen resolution is set. The latter set of information can play a critical role in website optimization for mobile devices, for instance.

With most providers, you can decide between various designs and sizes for the visitor counter to be displayed later. Simply choose one of the available designs and your desired size, and generate an HTML code with a click via the respective tool. This snippet is then integrated in the chosen spot on your web page to activate the visitor tracking.

Create your own visitor counter – a tutorial

If you want to create your own visitor counter for your homepage, you need to first make the appropriate structures. For example, the recorded access first needs to be saved. Only then can the counter later display the current status and provide meaningful statistics. For smaller websites, a simple text file can do the job, placed on your server with its location specified in the script. The bigger your web project and the higher the average traffic, though, the sooner you should make the switch and start saving your information on a database like MySQL. Before we go into the actual script, we’ll quickly discuss the corresponding database configuration in the next section.

Configure MySQL database for web counters

Joining with a database is generally associated with more requests, and so is more complex than retrieving the information from a simple text file. You should check in advance whether using MySQL and co. is worthwhile for you, or you may slow down your project unnecessarily. Depending on which information you want to record and evaluate with your visitor counter, you need to create a table with a corresponding number of fields. Four fields (four pieces of information) are of particular interest:

  • id: It’s recommended to set the ‘id’ field in the first spot on your created table, which is used for clarification and easier handling of data records (for example, if the entries are to be sorted). The use of this field is recommended, but it’s not required. In order for the database to sequentially number later entries, and to assign each number only once, specify the parameters AUTO_INCREMENT and PRIMARY KEY.
  • access_page: The ‘access­_page’ column is always required. It’s designated for the title of the respective website where the visitor counter is integrated. With the parameters NOT NULL and UNIQUE, you can also make sure that no double entries will be displayed. You can use either VARCHAR or TEXT as the data type for this field.
  • access_counter: The actual visitor counter for the HTML pages hides behind the INTEGER field ‘access_counter’. Each time the ‘access_page’ is accessed, the value is automatically increased by 1.
  • access_date: The time stamp for the site access doesn’t have to be stored in the database, but it’s usually one of the first values collected by a web counter. Using the data type TIMESTAMP along with the attribute CURRENT_TIMESTAMP gives you the current entries, which contain the data as well as the exact time. Enter the rule ON UPDATE CURRENT_TIMESTAMP as well to automatically enter the time stamp into the database without requiring further programming on your side.

Frank da Cruz
Updated in 2019 and 2021 for HTML5 and “fluidity”.

This page shows how to create Web pages by hand, the original way. Although today most Web pages are created by “Web authoring systems” that are designed to shield you from technical details, the fact is that HTML (the “programming” language of the Web) is not that difficult, as you can see if you follow this tutorial. To get an idea of what is possible with this technique, see these 100% hand-made websites:

  • The New Deal in New York City 1933-1943
  • The History of Computing at Columbia University 1890-2005
  • The Washington DC Nation Mall in World War II
  • Arlington, Virginia, 1956-61: The Hall’s Hill Segregation Wall
  • Frankfurt, Germany, 1959-61


  1. Creating a Web Page
  2. HTML Syntax
  3. Special Characters
  4. Converting Plain Text to HTML
  5. Effects
  6. Lists
  7. Links
  8. Tables
  9. Viewing your Web page
  10. Installing your Web Page on the Internet
  11. Where to go from here
  12. Postscript: Cell Phones

You can create a Web page on your desktop computer but nobody can see it but you. If your want other people to be able to see your Web pages, you need an account on a computer that has a Web server. Nowadays most people have their own computers on their desks, but normally they don’t have Web servers and anyway you don’t want the whole world coming into your desktop computer to see your web page because (a) it’s not designed for that, and (b) who knows what else they might see. And (c) for security reasons, Web servers should be managed by professionals. Most institutions have big central shared computers for this purpose, which usually have a Unix-like operating system such as Linux. You need an account on one of these so you can put your web pages there. If you don’t have access to such a computer, you can get a low-cost account on a service like

You can still create Web pages on your own computer and look at them with your computer’s Web browser, but for other people to see them, you have to upload them to the “big” computer that has the Web browser. The rest of this document is about how to create your first Web page.

1. Creating a Web Page

When you’re just learning and want to experiment, you can do everything on your PC. Create a new directory (“folder”) for your website, and then put the web-page files (HTML plus any pictures) in it. Use NotePad or other plain-text editor (not word processor) on your PC to create your “home page”, a file named index.html , which you can view locally with your Web browser. (You can also use a word processors such as Word or WordPad if you save in “plain text”, “text”, “text document”, or “text document MS-DOS format”.) Later I’ll explain how you can install your web site on the Internet.

Once you’ve made your “home page” (index.html) you can add more pages to your site, and your home page can link to them.

2. HTML Syntax

, which is a paragraph separator, or (“begin bold”) and (“end bold”). So the following HTML text:

This sentence contains bold text.

A Web page starts with a series of HTML commands, and ends with a few more. The contents go in between:

The first line ( DOCTYPE ) specifies which markup language the page uses (HTML = Hypertext Markup Language); just copy this line. The next line, , starts the page and specifies the (human) language it is written in (language codes are specified here), and is matched by the line , which closes the page. starts the heading, which contains a title to be displayed on the browser’s title bar and a declaration of the character set (nowadays it should always be UTF-8) and the “viewport” line which is a compulsory adaptation for cell phones, “smart” watches, etc. closes the heading. The head can also contain other items such as style parameters that you can learn about later; for example by asking Google (“HTML how do I change the font size?”).

The tag starts the body of the document, is closed by

Join the DZone community and get the full member experience.

Today, a website must not look good only on a desktop screen, but also on tablets and smartphones. A website is responsive if it is able to adapt to the screen of the client. In this article, I’ll show you how to easily make a website responsive in three easy steps.

1 – The layout

When building a responsive website, or making responsive an existing site, the first element to look at is the layout. When I build responsive websites, I always start by creating a non-responsive layout, fixed at the default size. For example, default width is 1100px. When I’m pleased with the non-responsive version, I add media queries and slight changes to my code to make the code responsive. It’s way easier to focus on one task at a time.

When you’re done with your non-responsive website, the first thing to do is to paste the following lines within the and tags on your html page. This will set the view on all screens at a 1×1 aspect ratio and remove the default functionality from iPhones and other smartphone browsers which render websites at full-view and allow users to zoom into the layout by pinching.

It’s now time to add some media queries. According to the W3C site, a media query consists of a media type and zero or more expressions that check for the conditions of particular media features. By using media queries, presentations can be tailored to a specific range of output devices without changing the content itself. In other words, media queries allows your website to look good on all kinds of displays, from smartphones to big screens.

Media queries depends of your website layout, so it’s kinda difficult for me to provide you a ready to use code snippet. However, the code below is a good starting point for most websites. In this example, #primary is the main content area, and #secondary the sidebar.

By having a look at the code, you can see that I defined two sizes: The first have a maximum width of 1060px and is optimized for tablet landscape display. #primary occupies 67% of its parent container, and #secondary 30%, plus a 3% left margin.

The second size is designed for tablet portrait and smaller sizes. Due to the small sizes of smartphones screens, I decided to give #primary a 100% width. #secondary also have a 100% width, and will be displayed below #primary .

As I already said, you’ll probably have to adapt this code a bit to fit the specific needs of your website. Paste it on your site .css file.

Once done, let’s see how responsive your layout is. To do so, I use this awesome tool created by Matt Kersley.

2 – Medias

A responsive layout is the first step to a fully responsive website. Now, let’s focus on a very important aspect of a modern website: medias, such as videos or images.

The CSS code below will ensure that your images will never be bigger than their parent container. It’s super simple and it works for most websites. Please note that the max-width directive is not recognized by older browsers such as IE6. In order to work, this code snippet have to be inserted into your CSS stylesheet.

Although the technique above is efficient, sometimes you may need to have more control over images and display a different image according to the client display size.

Here is a technique developed by Nicolas Gallagher. Let’s start with the html:

As you can see, we used the data-* attribute to store replacement images urls. Now, let’s use the full power of CSS3 to replace the default image by one of the specified replacement images if the min-device-width condition is matched:

Impressive, isn’t it? Now let’s have a look to another very important media in today’s websites, videos.

As most websites are using videos from third parties sites such as YouTube or Vimeo, I decided to focus on the elastic video technique by Nick La. This technique allows you to make embedded videos responsive.

And now, the CSS:

Once you applied this code to your website, embedded videos are now responsive.

3 – Typography

The last step of this tutorial is definitely important, but it is often neglected by developers when it comes to responsive websites: Typography.

Until now, most developers (including myself!) used pixels to define font sizes. While pixels are ok when your website has a fixed width, a responsive website should have a responsive font. Indeed, a responsive font size should be related to its parent container width, so it can adapt to the screen of the client.

The CSS3 specification included a new unit named rems . They work almost identically to the em unit, but are relative to the html element, which make them a lot easier to use than ems .

As rems are relative to the html element, don’t forget to reset html font size:

Once done, you can define responsive font sizes as shown below:

Please note that the rem unit is not recognized by older browers, so don’t forget to implement a fallback. That’s all for today – I hope you enjoyed this tutorial!

Published at DZone with permission of Jean-Baptiste Jung , DZone MVB . See the original article here.

Opinions expressed by DZone contributors are their own.

How to create a simple web page with html

How to create a simple web page with html


In this tutorial, you will set up the folders and files necessary for building a website with HTML and CSS. You will also prepare an index.html file so that it is ready to receive HTML content in the tutorials ahead.


If you have been following along with this tutorial series, you can continue using the css-practice project directory, index.html file, images folder, css folder, and styles.css file that you created earlier in the series. If you have not been following along this tutorial series and need instructions for setting up these folders and files, please see our earlier tutorial in this series How To Set Up Your CSS and HTML Practice Project.

Note: If you decide to create your own names for the folders or files, make sure to avoid character spaces, special characters (such as !, #, %, or others), and capital letters, as these can cause problems later on. Be aware also that you will need to modify your file paths in some of the steps throughout the remainder of this tutorial series to ensure that they correspond with the names of your files.

You should have a project folder named css-practice that contains the following folders and files that are necessary to explore CSS in this tutorial series:

  • A folder named css that contains the file styles.css
  • An empty folder named images
  • A file named index.html

In the first step of this tutorial, you will prepare the index.html file so that it is ready to receive content in the tutorials ahead.

How To Prepare Your index.html File For HTML Content

To prepare your index.html file to serve as your website’s homepage, we’ll need to add a few important lines of HTML. These lines of HTML will serve as instructions for the browser and will not be displayed on the webpage itself. Make sure that your index.html file is empty (if you have content from previous tutorials) and add the following code snippet to the document:

Make sure to change the highlighted site title with a title of your own choosing. Then save the index.html file. Before continuing, let’s briefly review the code that you just added to understand its purpose:

  • The declaration tells the browser which type of HTML is being used in this document. It is important to declare this value as there are multiple versions of the HTML standard, and browsers need to know which to use. In this declaration, html specifies the current web standard of HTML, which is HTML5.
  • The opening and closing tags tell the browser that all content inserted between these two tags should be interpreted as HTML. Inside this tag, you also added the lang attribute, which specifies the language of the webpage. In this example, the language is set to English using the en language tag. For a full list of language tags, visit the IANA Language Subtag Registry.
  • The opening and closing tags creates a section in the HTML document that typically contains information about the page, rather than page content itself. Browsers do not display the information in a section.
  • The tag specifies the document’s character set should be UTF-8, a unicode format that supports a majority of characters from a wide variety of written languages.
  • The tag tells the browser the name of the webpage. This title appears on the browser tab and when the site is listed in search results but it does not show up on the web page itself. Make sure to replace “Sammy the Shark” with your name or a title of your choosing if you want to personalize the site.
  • The
  • tells the browser where to find the stylesheet that contains the style rules. If you followed the instructions earlier in this series How To Set Up Your CSS and HTML Practice Project, your stylesheet should be located at this file path.
  • The opening and closing tags will contain the main content of the webpage. You’ll add the HTML content between these tags in the tutorials ahead.


You have now created all of the folders and files necessary for creating a website with HTML and CSS. You should also have an index.html file prepared with the necessary HTML content for serving as your website’s homepage. In the next tutorial, you’ll explore how the demonstration site is constructed and the steps you will take to recreate it.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Tutorial Series: How To Build a Website With CSS

This tutorial is part of a series on creating and customizing this website with CSS, a stylesheet language used to control the presentation of websites. You may follow the entire series to recreate the demonstration website and gain familiarity with CSS or use the methods described here for other CSS website projects.

Before proceeding, we recommend that you have some knowledge of HTML, the standard markup language used to display documents in a web browser. If you don’t have familiarity with HTML, you can follow the first ten tutorials of our series How To Build a Website With HTML before starting this series.

How to build a website that highlights your research, achievements and personality

Today, creating an academic website goes hand-in-hand with creating your CV and presenting who you are to your academic and professional peers. Creating and maintaining your website is an essential tool in disseminating your research and publications. Use your academic personal website to highlight your personality, profile, research findings, publications, achievements, affiliations and more. In addition, by using some of the many social media tools available, you can further amplify the information contained in your website.

An academic personal website takes you a step further in terms of increasing your visibility because it is an ideal place to showcase your complete research profile. You will attract attention to your publications, your name recognition will increase and you will get cited more. Moreover, a website is also useful for networking and collaborating with others, as well as for job searching and application.

This guide helps you to take that next step and informs you on how to easily create an effective academic personal website.

Getting started — the technicalities

Registering the Domain Name

Think of a few good domain names you would like to use for your website. Try your name or a combination of initials and last name. The domain name should be simple, preferably without hyphens or numbers, and easy to spell. Registering a domain name is never free, but it is low cost and worth it. Select a domain name with ‘.com’ if it is available.

  • You can check availability of domain names and register them onsites such as:, and

Getting hosting for the website

After registering a good domain name, you need to buy hosting, i.e. the virtual location and server where your website is stored and managed. Some of the domain registration companies also offer hosting. See the next section on ‘Creating the Website’ for a list. Among the items offered in most hosting packages, one or more free e-mail addresses at the domain name you registered is included and a certain amount of storage space is also provided.

  • Some examples of companies where you can get hosting are:,,, and
  • For a list of more hosting options, visit https://www.top10bestwebsite or Google ‘web hosting’.

Creating the website

Once you have registered a domain name and secured web hosting, you can start creating your website. It does not have to take a lot of time or technical knowledge to create a good website today because there are some easy-to-use platforms or Content Management Systems (CMSs) available.

Some website platforms also offer web hosting. These include Jibr, WordPress, Blogger and Yola.

Look and feel of your website

Your academic website should be a clean presentation of you academically and professionally. It should not be too cluttered, but it should also be thorough since it is essentially a detailed CV.

  • Choose a simple layout offered in the several templates available on the website platform or CMS you have selected. Choose a layout which appears straightforward to edit and is not too colorful. Two or three colors are sufficient.
  • Choose a light colored background and a dark font color to ensure the text is easy to read; never the reverse.
  • Use a legible standard font type and size for your site. It is best to use one, maximum two, font types. Using bold, italics and underlining for emphasis is suitable, but don’t overdo it. Be consistent in the use of these embellishments.
  • Present the text in a spacious, organized manner. Use ample spacing and bullet points, and do not include numerous lengthy paragraphs of text.

What information to include on your website

As your academic website is a reflection of you academically and professionally, you can use the same elements as those on your CV. On the website, you can be more detailed in explaining items. Although, do not write more than a few sentences, or a short paragraph, on each element. Include bullet points and links where possible to save on writing too much text. Items to address on your personal academic website:

  • Profile and expertise
  • Links to all types of publications (journals, books, etc.)
  • Current research and research goals
  • Honors and achievements
  • Funding awards
  • Professional and academic affiliations
  • Teaching and other relevant professional experiences
  • Forthcoming speaking appearances
  • Presentations, videos, photos
  • Links to your blog, academic social networks and institution
  • Social media widgets for Facebook, Twitter, LinkedIn, blog, etc.
  • Links to your blog, or enable blog posts to appear on your website
  • Basic contact information
  • Any other information you deem relevant

Broadcasting your website

Once you have completed your website, you should share include a link to your website in your e-mail signature. Including the URL of your website on your business card is also helpful.

Also, be sure to share the link to your website on all of your online and social media profiles to gain maximum exposure. Share links to your new website on, Twitter, Facebook, LinkedIn and beyond. Most, if not all, website platforms offer social media widgets enabling visitors to click and easily share your post or website link in their social media networks. Be sure to add these widgets to your website and place them ideally at the bottom of the page, in the sidebar, or at the top right.

Search Engine Optimization (SEO) of your academic website

You can use certain keywords to increase the number of visitors who find your page through search engine searches. This process of tailoring the words to increase visits is called search engine optimization (SEO). Figure out which keywords are best to use with regard to your academic field using the Google AdWords keyword tool and Google Analytics. You only need to use some of the top searched keywords a few times on your website.

Furthermore, simply by keeping your website and publication links up-to-date will increase the SEO of your website. The links on your website which link back to the publications are captured by Google’s algorithmic tools and help to increase the ranking and visibility of your publications and, in turn, the ranking of your academic website.

Tracking the outreach and effectiveness of your website

It’s important to measure the effectiveness of your website and understand the behavior of your visitors. Google Analytics is one of the tools which enable you to measure the impact of your site. You can see how frequently it is visited, the physical locations of visitors to your site, the most visited pages of your site, and more. Tracking the visitors to your website can help you tailor it to further increase the traffic to your website.

These instructions will guide you through the process of setting up a template Web page that is constructed with PHP include files. We will use a very simple example Web page to demonstrate how this is done.

Step 1 – Create your Web page template

1.2) If you wish to use PHP to display an environment variable on all your pages (for example, to show the page’s last modified date, as done in the sample code below), place the appropriate code in your page.

1.3) In the place where your content would appear, place the words “CONTENT HERE”.

1.4) Save this page, naming it “wholepage.php”.

Step 2 – Group the common elements together in the code

2.1) Within the head section, you will probably have some code that will be the same on each page (a link to a style sheet, a meta tag specifying the character set, etc.) and some code that will be unique to each page (the title, meta keywords, etc.). To the degree possible, group the common and unique elements together in the code, as done below.

In this example, the common code that will be identical on every page is in red , and the code that will be different on every page is in brown. (Note that in this example we are assuming that the content of all the pages of the site will be written by the same person.)

Hypertext Markup Language is the standard for documents for the World Wide Web. The HTML file contains:

  • The text that appears.
  • Formatting instructions for the text.
  • Definitions of hyperlinks (pieces of text, sometimes called hot words or images, that, when you click on them take you to another document, located on the same computer or a different computer).
  • Instructions for inserting images and sounds.
  • Programs or calls to programs.

HTML files reside on what is termed a server computer and are interpreted by a browser program such as Netscape Navigator or Microsoft Internet Explorer on the user’s computer. This computer is called the client. These notes will describe how to create a simple HTML document.

Overview of Common Tags

An HTML file consists of text, that is, the words that you want to appear in your document and embedded instructions called HTML tags. The tags give the browser instructions that include formatting, display of images, and hyperlinks. The technical name for the type of data in an HTML file is ASCII text. We first go over some basic tags, and then there will be an exercise using NotePad. HTML tags begin with the . For example, an HTML file begins with and ends with . The letters inside the tags may be in either lower or upper case.

The tags, and , are examples of paired tags. The second one is like the first one except that it begins with a / symbol. A pair of tags affects how a browser will display the text between the first tag and the second tag. Leaving out the second tag usually changes the display of the rest of the document.

The standard format for an HTML file consists of the head and the body. The tags for these are:

The document title and other information used by search engines.

all the text and instructions for the document

image thumbnail and preview:
– the CSS element #Preview,
– main.js and jquery.js files

– webticker_lib.js from Mioplanet

Yahoo calendar
– alert.js

Collapsing of menu function
– collapse_menu.js

Hope that helps!

Just what I needed – 5 stars!

General News Suggestion Question Bug Answer Joke Praise Rant Admin

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.