Basics of Web Design: Html5 & Css3
Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 5, Problem 1FWD

Explanation of Solution

Web Content Accessibility Guidelines (WCAG):

The guidelines for web accessing have been developed through the W3C process. The purpose of these guidelines is to provide the accessibility of web contents like text, images, structure, presentation, and so on.

Usage of color and images that was mentioned in “WCAG 2.0”:

Color element is used for conveying the information interactively. All web elements use color for their text, background, or other styling purpose. Some of them are mentioned below:

  • Ensuring the color in data, backgrounds, or other contents is to indicate the information.
  • Ensuring the color within an image to convey the information.
  • Images are used to provide picture in the web page. The user can modify the properties like border, size, and alternative text for an image.

Web page:

The following code is used to demonstrate “WCAG” with color and image element:

Code:

<!--HTML Tag-->

<html>

<!--Head Tag-->

<head>

<!--Title Tag-->

<title>WCAG 2.0</title>

<!--Style Tag-->

<style>

/*Style for body tag*/

body

{

/*Set the background color*/

background-color:powderblue;

/*Set the text color*/

color:black;

/*Set the font*/

font-family:Arial,Verdana,sans-serif;

}

/*Style for "h2" element*/

h2

{

/*Set the background color*/

background-color:black;

/*Set the text color*/

color:white;

/*Set the height in pixels*/

height:50px;

/*Set the width in pixels*/

width:500px;

}

/*Style for "h1" element*/

h1

{

/*Set the height in pixels*/

height:100px;

/*Set the width in pixels*/

width:500px;

}

/*Style for "image" element*/

img

{

/*Set the float value*/

float:right;

/*Set the margin*/

margin-right:100px;

/*Set the width in pixels*/

width:300px;

/*Set the height in pixels*/

height:300px;

}

/*Close the style*/

</style>

<!--Close tag-->

</head>

<!--Body Tag-->

<body>

<!--Heading Tag-->

<h1>Web Content Accessibility Guidelines</h1>

<!--Image tag with its source-->

<img src="w3g...

Blurred answer
Students have asked these similar questions
Given the html code, create a container style to provide similar to the image provided. css practice societal quotes "Society as a whole benefits immeasurably from a climate in which all persons, regardless of race or gender, may have the opportunity to earn respect, responsibility, advancement and remuneration based on inheritance ability." Justice Sandra Day O'Connor "Shall I not inform you of a better act than fasting, alms, and prayers? Making peace between one another: enmity and malice tear up heavenly rewards by the roots." Prophet Muhammad "Education is the most powerful weapon which you can use to change the world." President Nelson Mandela
Examine the differences between the Edge and Chrome web browsers. What are the functional advantages and drawbacks of each option?
Question 5 Make Old Facebook login page using inline or internal css (html).  Full explain this question and text typing work only thanks
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education