37 solutions available
Question 1How do you add a background color for all <h1> elements?
Question 2How do you display a border like this :The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right...
Question 3How do you make each word in a text start with a capital letter ?
Question 4Perform as instructed below.(a) Create an HTML file namely index.html file with following guidelines :x Make sure there are at least 2...
Question 1Which of the following is not one of the DHTML technology ?HTMLCSSJavaScriptWWW
Question 2The acronym CSS stands for what ?Carrot System StyleCorrelated Styling SystemCascading Style SheetsCanvas Styling System
Question 3What property would you use to create space between the element's border and inner content ?marginspacingpaddingborder
Question 4How do you tell the browser you are creating a styling section with an internal style sheet ?<style...
Question 5To reference a style sheet across multiple HTML pages, how would you define your CSS ?Inline StyleInternal Style SheetExternal Style...
Question 6What is the correct CSS syntax for making all the <span> elements bold ?span {text-size:bold}span {font-weight:bold}<span...
Question 7In the following code snippet, what value is given for the left margin :margin: 5px 10px 3px 8px;3px10px8px5px
Question 8What property is used to change the text color of an element ?fontcolor:textcolor:color:font-color:
Question 9Which is the correct CSS syntax ?{p:color=black(p}p {color: black;}{p;color:black}p:color=black
Question 10What is the correct CSS syntax to change the font name ?font-name:font:font-family:fontname:
Question 11Which HTML attribute is used to define inline CSS styles ?cssstyletypeid
Question 12How do you make each word in a text start with a capital letter ?text-transform:capitalizetext-transform:uppercaseYou can't do that with...
Question 13What is the correct CSS syntax for making all the <p> tag's font size 14px ?p {14px}p {font-size: 14px;}p {text-size: 14px;}p {font:...
Question 14Which CSS property controls the text size ?font-heighttext-sizefont-sizetext-style
Question 15How do you insert padding so that it is :10 pixels at the top 15 pixels at the bottom 5 pixels at the right 10 pixels to the left...
Question 16How do you display hyperlinks without an underline?a {decoration:no underline}a {text-decoration:none}a {hyperlink:no underline}a...
Question 1Which property is used to change the background color ?background-colorbgcolorbg-colorcolor
Question 2Which property is used to increase and decrease the text size ?font-widthfont-sizetext-widthtext-size
Question 3What would this CSS rule do ?p { color:red; } Make the background of all paragraphs red.Make the fonts of all paragraphs red.Make...
Question 4What would this CSS rule do ?h2 { font-size:2em; } Make fonts in a specific h2 tag double in size.Make fonts in all h2 tags double...
Question 5How do you link an external stylesheet to a page.<link href='somefile.css'><link rel='stylesheet' src='somefile.css'><script...
Question 6Which one of these name and value declarations would not work ?margin:20px 0 0 30%;margin;20px 30%:margin:20px 30%;margin:20px 23px 5% 30px;
Question 7Which of the following CSS types is defined in the header of a Web page and applies to the entire Web page document...
Question 8Which of the following type of CSS is coded in the body of the Web page as an attribute of an HTML tag and applies ONLY to the specific...
Question 9Where in an HTML document is the correct place to refer to an external style sheet ?In Body sectionIn Head sectionIn a paragraphTop of the...
Question 10Use the CSS ............... property to configure the cellpadding of a table.
Question 11What is the utility of dynamic websites ?
Question 12What are some features of dynamic websites ?
Question 13What do you understand by Stylesheets? How are these useful ?
Question 14What is CSS style rule? How do you define it ?
Question 15What are three ways of creating style rules? Give examples of each.
Question 16What is the Cascading order of different style types ?
Question 17Where do you place the code to associate a Web page with an external style sheet ?