Book Image

Practical Web Design

By : Philippe Hong
Book Image

Practical Web Design

By: Philippe Hong

Overview of this book

Web design is the process of creating websites. It encompasses several different aspects, including webpage layout, content production, and graphic design. This book offers you everything you need to know to build your websites. The book starts off by explaining the importance of web design and the basic design components used in website development. It'll show you insider tips to work quickly and efficiently with web technologies such as HTML5, CSS3, and JavaScript, concluding with a project on creating a static site with good layout. Once you've got that locked down, we'll get our hands dirty by diving straight into learning JavaScript and JQuery, ending with a project on creating dynamic content for your website. After getting our basic website up and running with the dynamic functionalities you'll move on to building your own responsive websites using more advanced techniques such as Bootstrap. Later you will learn smart ways to add dynamic content, and modern UI techniques such as Adaptive UI and Material Design. This will help you understand important concepts such as server-side rendering and UI components. Finally we take a look at various developer tools to ease your web development process.
Table of Contents (20 chapters)
Title Page
PacktPub.com
Contributers
Preface
Index

HTML structure


Every HTML follows a structure so that a browser is able to read the page. To summarize, it always starts with an <html> tag. This tag will contain the <head> tag and the <body>tag. Let's create our first page so you can understand. 

Creating our first page

To create our first page. Click on File | New File or Command + N (or Ctrl + N for Windows).

You now have an untitled file. Let's quickly save and name it by clicking File | Save or Command + S (or Ctrl + S for Windows) and name it index.html.

Why name it index.html? Because the index.html page is the common name used for the default page shown on a website by default when a visitor requests the site. In other words, index.html is basically the name used for the homepage of the website.

Now that we have our first HTML file, we have to put the essential tags in to make it work. The essential tags should be written as follows:

<html>  <!--This is our HTML main tag-->
 <head>  <!--This is our...