Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Practical Web Design
Practical Web Design

Practical Web Design: Learn the fundamentals of web design with HTML5, CSS3, Bootstrap, jQuery, and Vue.js

eBook
€17.99 €25.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Practical Web Design

Chapter 2. Web Design and its Components

InChapter 1, Evolution of Web Design we looked at how web design has evolved since the first web page of Sir Tim Berners-Lee in 1990. Throughout those years, we saw new elements and styles emerging in website design. Some elements will help the user navigate through the website, some will help tell a story, but most importantly, all of them have the potential to improve the visitor's experience. In this chapter, I will help you understand each component, its usage, and why it's useful. Let's dive into it!

The following is a list of the components we'll be covering:

  • Grids
  • Call to Action
  • Breadcrumb
  • Search bar
  • Icons
  • Modal
  • Typography
  • Colors
  • Usability
  • Consistency

Grids


If you remember, we talked about grids in the first chapter. Grids help a lot with Responsive design, but their use does not stop there. Designers have used grids since print design, for books, publications, and especially magazines. To simply define it, a grid system is a system that helps designers structure their design, content, and imagery, and make it more readable and manageable.

Understanding grids is very important because they will help you design in proportion, balancing between the elements in your design, organizing modules, and sections. And more importantly, it will help the user navigate with the consistency and familiarity of your design grid:

The Grid system website (http://thegridsystem.net/), is a very useful tool for every grid system, and is a must-know.

The cons

There are always advantages and disadvantages on everything, and the grids don't escape that rule. The first disadvantage of grids for most people and especially those who are new to design is that they may...

Call to Action


A Call to Action (CTA) is a marketing term to define a designed element that solicits and encourages an action from the user and which the end goal is to attempt a sale. You'll hear a lot of this term when you start working as a designer when designing websites, especially for marketing purposes. The goal of every designer is to maximize the click conversion on this button, which leads to a sale at the end. Here is some indication of good practice when designing your CTA.

Making it obvious

One piece of advice I'll give is not to be too creative when designing a CTA because it remains a button, and people are used to it. As users have become accustomed to the online experience, they know that CTAs come in the forms of buttons. They see a button; they know what to do. Simple. Make it big, obvious, and stand out from everything around it, and it's in the bag.

Here's an example of a bad CTA:

Image from Capgemini.com website 2017. All rights reserved to Capgemini

The area pointed by...

Breadcrumb


Breadcrumb (or breadcrumb trail) is a secondary navigation system that indicates where the user is on a site or web app. The term came from the Hansel and Gretel fairy-tale in which the main characters create a trail of breadcrumbs in order to track back to their house. Just like the tale, breadcrumb in web allows the user to find their way back from where they started. It's very useful for complex websites or applications, but not very for a single page website that has no logical hierarchy or grouping.

The following are some examples of breadcrumb.

An example here on Google Drive:

Here's an example of an e-commerce website. (mac-addict.com.au):

The search bar


The search bar has become more crucial for heavy-content websites, such as YouTube, Facebook, and eBay. Users are now familiar with using a search bar and they're always looking for it when they are searching for something. However, not every website needs a search bar. If you have a simple and intuitive website, light in content, a search bar might be overkill.

The following are some quick tips of good practice when designing a search bar.

The submit button

Designers often denigrate the submit button when designing it, but there is always a reason behind it. Even though users can press the Enter button, it's not valuable enough to not display it. Users need to see that there is another action to trigger. It's always better to have different possibilities for your users to achieve their end goal:

Preceding is an example of a bad Search bar and a good Search bar.

Making it noticeable

It's a bad approach to make the user look for the search box. The search box should always be easy...

Icons


Icons are everywhere now, you can find them on road signs, keyboards, interfaces, and so on. Icons help us to better understand and interpret information. It serves as an important visual aid in any graphical communication. As a designer, knowing where and when to use icons to serve your design is really important and crucial. The following are some quick tips to start with.

Describing in a nutshell  

It's interesting how icons can quickly summarize what your text is about. Web users have become more proficient at scanning pages for content that is relevant and interesting to them. So by just looking at the icons, they will quickly jump into the information they want. For example, in this example: 

(uber.com)

The icons quickly describe what the content is about with a beautiful effect. 

Drawing attention of the users

A website without icons can be quite boring. Imagine a magazine without images, how boring would it be? It's the same logic for icons within websites. Furthermore, with beautiful...

Modal


Modal boxes are generally pop-up windows that appear on the screen rather than opening a new tab/window. They usually darken the background to bring attention to the popup. In short, modal boxes are used to show information to the user on the same page without reloading the page and by that, improving the usability.

Modal boxes found their origins from Windows, Mac OSX, and Linux, but they quickly spread out to web applications and other usages.

There are five common usages when using a modal box:

  • Error: To alert users of an error
  • Warning: To warn users of potentially harmful situations
  • Collect information: To collect information from users
  • Confirm or Prompt: To ask users to confirm an action
  • Helper: To help users when using the interface

Modal boxes are not to be confounded with modeless components such as sidebars, accordion menus, toolbars, and so on, as they allow users to interact with the parent windows.

The following are some examples of Modal boxes:

Modal boxes used when composing a...

Typography


I still remember when designing my first website, fonts in web design were very restrictive. A few default fonts were available and we had to stick within most cases with the super neutral Arial font. With the font-face roll-out from CSS3, it was now possible to add custom fonts, such a relief for designers! Typography is very important in design, it can alter the perception of your visitors. Using a serif and sans-serif font can literally change the feeling of a website. A study was shown in the New York Times (https://opinionator.blogs.nytimes.com/2012/08/08/hear-all-ye-people-hearken-o-earth/) comparing fonts by their truthfulness. Take a look at this first graph: 

Weighted Agreement

You can see that people tend to believe the information written in Baskerville more than any other fonts:

 

Weighted Disagreement

Typography can really play a role in your design. Unfortunately, I'm not here to do an entire course in typography, but here are some quick tips to choose the best typeface...

Colors


Colors have an enormous importance in web design. According to Kissmetrics, when you view a color, your eyes communicate with a region of the brain known as the hypothalamus, then, in turn, it will send a signal to the pituitary gland and finally to the thyroid gland. This signals the release of hormones that cause fluctuation in mood, emotion, and resulting in behavior. Interesting, isn't it?  

Also from Kissmetrics, research has shown that it takes just 90 seconds for a site visitor to form a judgment or opinion. Further to that, 62-90% of that interaction is determined by the color of a product alone.

You should now understand why colors are extremely important and why it's crucial to choose them in the right way, at the right time, with the right audience, and with the right purpose.

What colors mean

Each color draws out a specific emotion in each person. Although, this can differ according to culture, background, or preference. Here is a quick reference of color meanings:

  • Yellow:...

Usability


We talked earlier about how design has evolved into a user-centered design. This is exactly what we will be examining now, so what is usability you ask? Usability is simply the attribute that defines how easy the user interface is to use. It's generally measured with five components:

  • Learnability: How easy is it for the user to achieve basic tasks when landing on the website?
  • Efficiency: After learning, how efficient is it for the user to redo the tasks or achieve other tasks?
  • Memorability: How easy is it for the user, after not using the website for a while, to return, and use the website again at proficiency?
  • Error-tolerant: How easy is it for the user to recover from errors?
  • Satisfaction: How pleasant and satisfying is it to use the design?

Over the past few years, users have gotten used to certain standards in web design and don't tolerate websites that load slowly, are ugly to look at, or difficult to navigate through anymore. If your website is not usable, there are plenty out...

Consistency


After reviewing all these web design components, I'll finish with consistency and why it is important. Consistency is by far one of the key components of a good website. It will bring the last piece of your puzzle for a great website or application. Consider an example of when you want to find your keys, but you know they are always in the same place, you don't have to think. But if you don't find it, you'll start to stress out trying to find it. Websites are the same for users. You don't want them to learn each time they come to your website.

So, how can we be consistent?

These are the few areas that you should be consistent with:

  • Design
  • Content
  • Interaction

Design

Your design should be consistent, which means that every element you create such as links, buttons, inputs, or titles should follow a design identity of your own. Users remember the details whether consciously or not, so they will recognize a link because of its specific colors or shapes.

User Interface (UI) style guide...

Summary


In this chapter, we've covered quite a few topics, but to summarize, every component in web design is important on its own, for your design, but most importantly for the end users. With all the tips given, you are now able to create and make a website look great and user-friendly. 

Before you start digging into creating your own design, I want to introduce you to the next chapter, which will be talking about Responsive and Adaptive design, something you need to know as a designer or developer. Let's get started!

 

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • • A fun-filled book with incrementing projects that would help you learn and adapt the fundamentals of web development
  • • Bring your web design to life with the help of HTML, CSS, JQuery, and learn to kick-start your future projects with Bootstrap
  • • Explore popular web development techniques such as responsive, adaptive, and material design and initiate yourself with Vue.js

Description

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.

Who is this book for?

This book is for anyone who wants to learn about web development regardless of previous experience. It's perfect for complete beginners with zero experience; it's also great for anyone who does have some experience in a few technologies (such as HTML and CSS) but not all of them.

What you will learn

  • • Understand the importance of web design and the basic design components
  • • Learn HTML5 and CSS3
  • • Difference between adaptive and responsive web design
  • • Learn how to create your first website
  • • Add interaction and dynamic content to your website with JavaScript and JQuery
  • • Implement Bootstrap Framework in your project
  • • Get familiar with server-side rendering
Estimated delivery fee Deliver to Germany

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 30, 2018
Length: 368 pages
Edition : 1st
Language : English
ISBN-13 : 9781788395038
Vendor :
Google
Languages :
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Germany

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Publication date : Apr 30, 2018
Length: 368 pages
Edition : 1st
Language : English
ISBN-13 : 9781788395038
Vendor :
Google
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 119.97
101 UX Principles
€49.99
Mastering Bootstrap 4
€36.99
Practical Web Design
€32.99
Total 119.97 Stars icon

Table of Contents

14 Chapters
Evolution of Web Design Chevron down icon Chevron up icon
Web Design and its Components Chevron down icon Chevron up icon
Website-Designing Workflow Chevron down icon Chevron up icon
Responsive Versus Adaptive Design Chevron down icon Chevron up icon
Learning HTML5 Chevron down icon Chevron up icon
Learning CSS3 Chevron down icon Chevron up icon
Building Your Own Website Chevron down icon Chevron up icon
Making Our Website Responsive Chevron down icon Chevron up icon
Adding Interaction and Dynamic Content Chevron down icon Chevron up icon
Optimizing and Launching Our Website Chevron down icon Chevron up icon
What is Bootstrap? Chevron down icon Chevron up icon
Building a Website with Bootstrap Chevron down icon Chevron up icon
Introduction to Client-Side Rendering Chevron down icon Chevron up icon
Tools to Help Your Workflow Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Half star icon Empty star icon Empty star icon 2.3
(3 Ratings)
5 star 0%
4 star 33.3%
3 star 0%
2 star 33.3%
1 star 33.3%
Samuel Bailey Aug 27, 2018
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I'm upgrading my review of this book, having gone through more of it. The author does take a while to get around to giving practical exercises (not until chapter 5), but the instruction is, as the title implies, direct and practical, and the preceding 4 chapters give only information that is truly necessary for proper understanding of what you're doing. But there is one criticism that does still stand, and this is not criticism of the author's content, but of the poor quality of the binding. In the first week after receiving my purchase, the binding began to separate.
Amazon Verified review Amazon
Amazon Customer Oct 10, 2019
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
I was expecting more detail. The author skips some information required to implement a web design.
Amazon Verified review Amazon
Paulo Iglesias Apr 25, 2019
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
Confuse to follow up the code exemples.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela