About Html Template

Posted onby admin


Now we'll get to dive in and play with some code. This section will introduce the basic HTML template. This template has the basic structure that every document should follow, as well as a few other extra bits to help manage the document.

The Basic Template

Here is the basic template. This template should be the starting point for every HTML page you write. The rest of this section will deconstruct and explain it.

HTML Form Templates An HTML form is a section of a document containing form elements. Form elements are various types of input elements, such as text fields, checkboxes, radio buttons, submit buttons, labels and so on. The HTML tag is used for declaring a form.


  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Our Funky HTML Page</title>
  5. <meta name='description'>
  6. <meta name='keywords'>
  7. </head>
  8. <body>
  9. Content goes here.
  10. </body>
  11. </html>

Let's break it down:

  1. Calvin is a free HTML blog template that would surely create a strong and lasting first impression on all your visitors. A clean, simple, and versatile blog template that could be used for all sorts of purposes. Its simplistic approach to design emphasizes what really matters most — your site's content. This blog template includes pages for frontpage, categories, about, contact, and single.
  2. Responsive HTML5 and CSS3 site templates designed by @ajlkn and released under the Creative Commons license.
  3. Responsive Bootstrap About Us Page Template MEET OUR TEAM. We are all very different. We were born in different cities, at different times, we love different music, food, movies. But we have something that unites us all. It is our company. We are its heart. We are not just a team, we are a family.
  • Line 1 - This is a special tag which goes at the very top of the document and identifies what type of code is being used.
  • Lines 2 and 12 - The html tags open and close the HTML document. Everything contained within is part of the document.
  • Lines 3 and 7 - The head tags define the head of the document. Items here are extra data that goes along with the document.
  • Line 4 - The title tag defines the title of the document. You'll notice it shows up at the top of the browser window.
  • Lines 5 and 6 - The meta tags are used to describe the document.
  • Lines 9 and 11 - The body tags enclose the actual content which is the document.
Content goes here.

The DocType

The first tag on each page should always be this tag. It should go at the very top, before the html tag. You'll notice that, unlike the other tags, this one begins with an exalamation mark ( ! ).

<!doctype html>

Technically it is not a tag but an instruction to the brower on how to interpret the rest of the document. For HTML 5 we simply refer to the type as html. For previous versions of HTML there were different types that it could be so it was important to specify which.

The Head

<head> </head>

The head of the html document is where ancilliary information goes. This is information relating to the document but not directly part of the document. There are many items which can go here but the template above includes the basic items which every page should have.

The Title

<title> </title>

The title tag allows us to give the document a title. This is used in several places:

  • The browser will include it at the top of the window.
  • If you save the page as a favourite the title will be used here.
  • Search engines use the title when they list your page in their search results.
  • Other sites may use the title when someone links to your page.
  • And others...

The title tag can be quite important given all the places it is used. You should take the time to make sure it is descriptive and concise.

Search engines generally only show the first 65 characters of the title (give or take a few characters). You should aim to keep your title to less than this amount.

About us page html template

A well written title can encourage more people to click on your page when it shows up on Search Engine Results Pages.

Meta Tags

<meta name='description' value='>
<meta name='keywords' value='>

Next in the head we have the two meta tags for description and keywords. These are used by search engines (to varying degrees) and can also be used by other systems (such as when your page is linked to on social media and other sharing sites).

The description is used to provide a summary of what the page is about. Search engines will typically place this under your title in their results pages.

Search engines generally only show the first 155 characters of the description (give or take a few characters). You should aim to keep your description to less than this amount.

Again, a well written description can encourage more people to click on your page when it shows up on Search Engine Results Pages.

The keywords meta tag is used to provide a series of words which would match what the page is about. Search engines used to place weight on this aspect of your page but it was abused to the point that it holds very little weight nowadays. You should still include it however for completeness and also as it is estimated that some search engines will mark you down for not having it. Their reasoning is that if you are lazy and can't be bothered putting this tag in then you're probably lazy in other areas too so the quality of your page, in their opinion, is less.

The Body

<body> </body>

This is where the actual content of your page goes. Typically this content would all be contained within tags to explain what type of content it is. In the example above we have left this out just to keep things simple. In the next section we'll start to show you what type of tags may be used.

It is important that all of your content is between the opening and closing body tags.

Breaking the Rules

If you copy the file above (template.html) into your own file and open it within a browser you will see a basic page. Experimenting with it, you will see that you can actually break the rules in quite a few different ways and the browser will happily play along.

Browser vendors realise there is quite a bit of poorly written HTML out there. In an effort to provide the best experience to their users they will do their best effort to work around any errors they come across.

Don't take this as an excuse to be lazy and write poor code however.

  • It may work now but future versions of browsers may not be as lenient.
  • It can also get you into trouble later on when adding CSS and javascript.
  • Search engines often look at the quality of your code as an indicator of the quality of your content. If they see HTML errors it can harm your rankings.


<!doctype html>
Specifies that this is a HTML document.
<html> </html>
Defines the actual HTML document.
<head> </head>
A container to put ancilliary information which goes with the document.
<title> </title>
A container to define the title of the document.
Defines information describing the document.
<body> </body>
A container to hold the content of the document.
Starting Point
Every document you write should start with this basic template.
Breaking the rules
Browsers will let you break the rules. This doesn't mean you should.


Now let's play about and create our first page.

  • Copy the template above into your own file and open it within a browser. Observe where the title is displayed.
  • Find out how to open your browsers inspection tool and have a bit of an explore. You won't see much for now but it will become more useful as we add more to our document.
  • Make a copy of the document and open that in your browser. Now break it in various ways and see what you can and can't get away with. Here are a few things to try:
    • put content in various places outside the body tags.
    • leave out or misspell different tags.
    • try adding duplicates of tags, eg. what happens if you have two or more body or title tags?

As we work through this tutorial, each section will add new tags allowing you to do more interesting things. My suggestion would be that you pick a topic or subject of interest to you and create a page about that. As you work through each section add to and improve the page with the new tags you have learnt.

While paid or custom HTML templates are always the best, you can still get a decent looking HTML template which is free, if you know where to look. So here are some Free HTML Portfolio Website Templates that will help you to showcase your work and sell your services in a creative way.

It is a highly creative, modern, visually stunning and Bootstrap responsive multipurpose corporate and portfolio HTML5 template with 26 ready home page demos. Pofo is a graphically polished, interactive, easily customizable, highly modern, fast loading, search engine optimized, efficiently coded, well documented, vibrant and fully responsive HTML5 and CSS3 multi-purpose website template for corporate, agencies, freelancers, individuals as well as any type of businesses to showcase their company history, services, work portfolio and projects, team, blog in most creative and professional looking manner.

Developer is a free Bootstrap theme designed to help developers promote their work. It can be used as a professional portal to your other online portfolios or websites (eg. Linkedin, CoderWall, Blog, GitHub etc) in a modular fashion. The theme comes with all of the source SCSS files included so the styling/colour can easily be customised to your taste.

Gorgo is a very simple yet creative Kirby CMS theme ( HTML include ) for freelancers, photographers, agencies, designers and other creative fields. It has some features which will help you make your project stand out from the crowd. It has been optimized to facilitate your time and money.

Kaunos Theme is perfect for creative professionals to show their work in the best way possible. Design Theme is made in a beautiful style. It is suitable for Personal Portfolio, Creative Agency, Designer Portfolio, Illustrator Portfolio, Photographer Portfolio and more. If you search a theme which is clean code, easy to use, minimalist and fast, then this is for you.

Today we have for you a developer friendly HTML template with an organized structure that will make a great choice for a portfolio website. Personal is a grid based, ready to use template packed with animations and transitions for a smooth scrolling.

Minimalistic, clean and modern template specially designed for all kinds of creators. Made with attention to details, it’s an excellent choice for the presentation of your beautiful portfolio.

Pixfly is a free portfolio website template that lets you showcase your portfolio in style. This responsive html5 template is made free for designers, creative studios, agencies who want to look the best in their business.

OAK is a free HTML portfolio template designed by EliteFingers, a web development & branding studio specialised in the development of WordPress themes. This template is a great solution for designers, architectures, photographers and any kind of creative people who need a website for showcasing their own works.

Magnet is a new portfolio HTML template with a beautiful, minimalistic design created to show your work in the best way possible. Easy to use and customize, it’s perfect for digital professionals. Keeping the focus on your works, Magnet would be the right fit whenever you need a website for a single designer or a big agency. Simple and minimalistic design leaves so much space for online self-expression. Your personality definitely won’t be lost!

This is a modern and stylish vCard website template. Designed to be a resume, vCard, portfolio template, it’s the perfect template for creative designers, developers, freelancers, photographer or any creative profession. It is fully responsive and retina/hi-dpi ready. It will look great on any devices from desktop to mobile phones. It has blog page templates, working contact form, stylish portfolio section and other features you will only find on premium templates. Built with clean and organized code, this template is also very easy to customize.

This is a free, simple and clean one page photography portfolio HTML template. It is built based on Bootstrap framework and features a responsive layout, filterable portfolio and working contact form.

A free one page portfolio template built with Bootstrap.

Today we have for you a developer friendly HTML template with an organized structure that will make a great choice for a portfolio website. Personal is a grid based, ready to use template packed with animations and transitions for a smooth scrolling.

Creative minimalist portfolio website template perfect for creative folks.

Lens is a surprising free template aimed at photographers in need for a solution that focuses on what matters most to them: your work.

Updated with the new Dribbble API, you have to create an API token for the same from dribbble.com/account/applications

If you’re a designer and that’s up your alley, you can use this as a starting point for your own portfolio.

Free responsive modern and clean HTML5, CSS3 and Jquery. Multipurpose Page minimalist website with content about us, portfolio and contact. Full screen portfolio view and home page with Parallax sidebar. Navigation is sticky to top – header. Ideal for your portfolio and photography showcase.

One Page minimalist website with content about us, portfolio and contact form. Full screen intro with Parallax. Navigation is sticky to top – header. Additionally Behance API with your portfolio.

You might want to check the demo here.

Awesome HTML template to showcase photographer or fashion related works.

Mocha is an awesome html templates which brings clean, flat & bold design. It’s ideal for any portfolio. It’s very flexible and powered with Bootstrap framework.

A complete and sweet HTML template for showcasing your work… All the files are included in the download including the layered PSD file that started the design off!

A free responsive site template by HTML5 UP. Built on skelJS and released under the CCA license.

Prologue is a free unique and creative site template perfect for a creative agency, graphic designer, photographer, artist or anything in between. Its stunning design, carefully thought typography, patchwork grid based portfolio along with fine touches of design elements.

About Html Template

Clean, pixel perfect, HTML5/CSS3 portfolio template, fertile is an amazing HTML5 template, great for portfolio and creative websites, you are free to use for your personal or client projects.

About Me Page Html Template

Brushed is Free One Page Responsive HTML Template based on Twitter Bootstrap Framework. It is optimized for Retina Displays. Best for studio, digital agency or creative people. Brushed is provides a powerful way to showcase your work. It is built with the HTML5 and CSS3 latest technologies, but at the same time make it compatible with older browser versions. You may use this template for both commercial and personal projects and customize this any way you like.

Type & Grids, a free responsive HTML5 template by Jeremiah Shoaf. It looks great on all devices, including desktops, laptops, tablets and phones. All of the content resides in a single HTML file, so setting it up is super-simple.

Memento is a responsive theme, completely customizable, with a fresh and powerful design, corporate style, clear color, clean taste.

free HTML theme with a lot of cool features and a clean cut an minimalistic design!

Rafi at Graphics Fuel designs a sleek minimal website and has made the XHTML/CSS template available for all. The template is available for personal or commercial use. As an added bonus, he has included the PSD file.

About Html Template

Minifolio is a minimal portfolio template, easy to customize, it contains 8 xhtml/css pages, including a portfolio page, blog page and a contact page!

ThinkSimple is a classy, corporate HTML5 and CSS3 template with a simple but eye-catching color scheme. Includes an attractive jquery image gallery.