[PDF] [PDF] CHAPTER – 5 MORE ON HTML CSS EXERCISES - St Francis Co

Ans: The word and letter spacing are the text properties of an element Example : code for Inline style attribute sample code for 2 Explain any five CSS Text properties? Ans: CSS text properties helps in 



Previous PDF Next PDF





[PDF] HTML5 and CSS3 – The Future of the Web Programming - RUA

Text properties • Background • Links Example: /* Paragraph */ p { text-align: center; /* Center */ color: black; /* Black */ If you define different alternative style sheets, you All CSS properties can only take a specified range of values: get 



[PDF] Preview CSS Tutorial - Tutorialspoint

CSS is used to control the style of a web document in a simple and easy way CSS stands Basic word processing using any text editor • How to All the content and graphics published in this e-book are the property of Tutorials Point (I ) Pvt Ltd You can define a style for each HTML element and apply it to as many



[PDF] HTML and CSS Tutorial Chapter 1: Getting Started

explain what HTML elements and attributes are All of these editors avoid the problems with file extensions and plain text described above, and have



[PDF] Cascading Style Sheets (CSS)

display it) is in separate style sheets ( css files) Use an element attribute named class to link (e g ) Result: define style information once, use in many places Consider can you make all the text in the app slightly bigger?



[PDF] CSS Reference CSS Properties - WordPresscom

column indicates in which CSS version the property is defined (CSS1, CSS2, font Sets all the font properties in one declaration 1 font-family Specifies the font Example description CSS class intro Selects all elements with class="intro"



[PDF] CSS 21 Specification - World Wide Web Consortium

13 jui 2005 · 9 10 Text direction: the 'direction' and 'unicode-bidi' properties All HTML examples conform to the HTML 4 0 strict DTD (defined in [HTML40])



[PDF] CSS 21 - World Wide Web Consortium

a style sheet language that allows authors and users to attach style (e g , CSS usage: it consists of all CSS features that are implemented interoperably at the date of 9 10 Text direction: the 'direction' and 'unicode-bidi' properties CSS 2 1 does not define which properties apply to form controls and frames, or how CSS



[PDF] Darshan Institute of Engineering & Technology 1

In the example below, all HTML elements with class="center" will be CSS font properties define the font family, boldness, size, and the style of a text 1



[PDF] CHAPTER – 5 MORE ON HTML CSS EXERCISES - St Francis Co

Ans: The word and letter spacing are the text properties of an element Example : code for Inline style attribute sample code for 2 Explain any five CSS Text properties? Ans: CSS text properties helps in 



[PDF] Introduction to CSS

As a Web developer you can define a style for each HTML element and apply IE F N font A shorthand property for setting all of the properties for a font in one

[PDF] explain all text properties in css with example in hindi

[PDF] explain all the properties of css with example

[PDF] explain architecture of mobile software applications

[PDF] explain broadcast disk scheduling in mobile computing

[PDF] explain database system 3 tier architecture with clear diagram in detail

[PDF] explain degeneracy and infeasibility in lpp

[PDF] explain different types of computer languages pdf

[PDF] explain different types of storage devices

[PDF] explain final class in java with example

[PDF] explain general agreement on trade in services

[PDF] explain global positioning system (gps)

[PDF] explain hart

[PDF] explain how global positioning systems function

[PDF] explain how the catholic church influenced european food practices during the middle ages

[PDF] explain inductive effect

CHAPTER - 5

MORE ON HTML CSS

EXERCISES

Q1.SHORT ANSWER QUESTIONS

1. What is CSS?

Ans: CSS stands for Cascading Style Sheets.It is used to style the web pages.It helps to make

HTML document more stylish and presentable.

2. What is word and letter spacing?

Ans: The word and letter spacing are the text properties of an element. Word -spacing : is used to add or subtract spaces between the words of a sentence. Letter-spacing: is used to add or subtract spaces between the letters that make up a word.

3. What is Background image position?

Ans: Background -position is the background properties which is used to set the position of the background image of an HTML element.

4. what is Text -indent?

Ans: Text-indent is the CSS text propetries used to indent the text of a paragraph.

5. Write down the syntax rule for using CSS?

Ans: The Syntax rule of CSS Style is:

Selector Declaration Declaration

H1 {Property : value ; Property : Value}

The selector points to the HTML element to style.

The declaration block contains one or more declarations separated by semicolon Eacg declaration includes a CSS property name and Value, separate by a colon It ends with a semicolon, and declaration blocks are surrounded by the curly braces.

Q2. LONG ANSWER QUESTIONS:

1. Explain Inline Styling with an example?

Ans: Inline styling allows to use multiple properties in one style tag.When CSS is written using Style attribute inside a tag is called ͞ inline style"

Example : code for Inline style attribute

sample code for inline style

Welcome to the CSS HTML code using Inline style

2. Explain any five CSS Text properties?

Ans: CSS text properties helps in styling the text.

1. Word -spacing : is used to add or subtract spaces between the words of a sentence.

2. Letter-spacing: is used to add or subtract spaces between the letters that make up a

word.

3. Text-indent: is used to indent the text of a paragraph.

4. Colour - is used to set the colour of the text.

5. Text - align: is used to align the text of a paragraph, it can be center, left or right.

3. Explain any five CSS font styles properties?

Ans: Font style properties are -

1. Font-family: used to change the face of a font.

2. Font-style: used to make a font italic or oblique.

3. Font-varient: used to create a small-caps effect.

4. Font-weight: used to increase or decrease how bold or light a font can appear.

5. Font-size: used to increase or decrease the size of a font.

4. Explain CSS boder and margin properties?

Ans: CSS border property are-

1. Border-Color: Used to specify the colour of the border.

2. Border-width: used to specify the width of the border.

3. Border-style: used to specify whether the border should be solid, dashed line, double

line.

CSS margin properties are-

1. Margin: Used as shorthand for setting all margins at once.

2. Margin-bottom: Used to set bottom margin.

3. Margin-top: Used to set top margin.

4. Margin-left: Used to set left margin

5. Margin-right: Used to set right margin.

5. Write one word for the following :

a. Border made up of small dots.

Ans: Dashed.

b. Background properties used to control repetations of image.

Ans: Repeat.

c. tag used to write CSS.

Ans: Style.

d. Property used to set text right to left and vice versa.

Ans: Direction.

quotesdbs_dbs17.pdfusesText_23