Posts
Showing posts from December, 2022
Cascading sytle sheet 17 December
- Get link
- X
- Other Apps
. ----stands for Cascading Style Sheets. A. CSS B. inline C. internal D. external discuss A. CSS 2. -----describes how HTML elements are to be displayed on screen, paper, or in other media. A. CSS B. inline C. internal D. external discuss A. CSS 3. ------saves a lot of work. It can control the layout of multiple web pages all at once. A. CSS B. inline C. internal D. external discuss A. CSS 4. An------CSS is used to apply a unique style to a single HTML element A. CSS B. inline C. internal D. external discuss B. inline 5. An-----CSS is defined in the <head> section of an HTML page, within a <style> element: A. CSS B. inline C. internal D. external discuss C. internal 6. With an--------style sheet, you can change the look of an entire web site, by changing one file! A....
CASCADING STYLE SHEET CLASS 8
- Get link
- X
- Other Apps
1. What is the full form of css? ans B. cascading style sheet 2. which of the following is not a css terminology? ans D. variable 3. Which of the following can be applied to multiple webpages? ans B. External style sheet 4. Which of the following is used to set the distance between the lines of text? Ans- A. Line height 5. Which of the following is an invalid border property? Ans- C. border dotted B. Fill in the blanks 1. style 2. div tag 3. external 4. text align 5. text transform C. True/False 1. FALSE 2. TRUE 3. TRUE 4. FALSE 5. TRUE
CSS- CASCADING STYLE SHEETS
- Get link
- X
- Other Apps
It is a language that describes the style of HTML document. You can set border properties, font properties, background properties, margin properties of an HTML document using CSS. CSS Terminology Selector- A selector is an HTML tag at which style will be applied. This could be any tag like <h1> , <p> or <font> etc. Property- It is a type of attribute of HTML tag. Property includes color, background-color, height, width, border-style, font-size etc. Value- Values are assigned to the properties. For example- color: red Declaration- A property and its value collectively known as declaration. Example Declaration Separator Declaration H1 {color: red; font-size: 20px} Selector Property Value Property Value Methods of Applying CSS 1. Inline:- In this method styles are embedded inside the HTML tag. 2. Internal:- In this method styles are placed within the header information of web page. 3. External:- In this method styles are coded as separate documents which is then ref...
INTERNAL STYLE SHEET
- Get link
- X
- Other Apps
2. Internal Style Sheet An internal style sheet may be used if one single page has a unique style. Internal styles are defined within the <STYLE> element, inside the <HEAD> section of an HTML page. e.g HTML code save as CSS_Example_05.html. <HTML> <HEAD> <STYLE type = "text/css"> HR {color : white ;} H1 {font-size = 40;} P {margin-left:20px;} BODY {background-image : url ("E :/Projects/COPA /Web Design Concepts/colorful.jpg")} </STYLE> <TITLE>Arihant BOOKS</TITLE> </HEAD> <BODY> <H1>Arihant Books </H1> <H1>Arihant Books </H1> <P> A wide range of books for school curricula, polytechnic, competitive and recruitment examinations are published by <B> Arihant Publications India Ltd. </B> </P> <HR style = "color: black"> For any query e-mail at info@arihantbooks.com and crm@arihantbooks.com or dial +91-11-40546380 </BODY> </HTML>
Inline style
- Get link
- X
- Other Apps
Inline Style An inline style may be used to apply a unique style for a single element. To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property. e.g. HTML code save as CSS_Example_06.html. <HTML> <HEAD> <STYLE type = "text/css"> HR {color : white; } H1 {font-size = 40;} P {margin-left: 20px;} BODY {background-image: url ("E :\Projects\COPA\Web Design Concepts\colorful.jpg"); } </STYLE> <TITLE> Arihant BOOKS </TITLE> </HEAD> <BODY> <H1>Arihant Books </H1> <P> A wide range of books for school curricula, polytechnic, competitive and recruitment examinations are published by <B> Arihant Publications India Ltd. </B> </P> <HR style = "color: black"> For any query e-mail at info@arihantbooks.com and crm@arihantbooks.com or dial +91-11-40546380 </BODY> </HTML>