I am taking this HTML/CSS course and need to know how to at least start the CSS
ID: 3758426 • Letter: I
Question
I am taking this HTML/CSS course and need to know how to at least start the CSS sheet for the Chapter 6, Case 2. I don't need the solution or answers written out per say, just "what" am I supposed to put in the CSS file for names-selectors and what order? (ie; fieldset? input? element?Nav? Nav ul li????) This is the part that confuses me the most. I am not really sure what to put in it for the CSS file in regards to the right selectors and so this throws me off very much. I am fine with the HTML coding part, just CSS mixes me up.
Explanation / Answer
css means cascading style sheet.the html tag on which you want to change either its color/font/size or any property simply write its tag followed by flowerbracket open and close within it add the property you want to chane and the value to which it should be changed
hope this examples will help you.
according to the syntax wise input followed by type of fieldset
<input type="textfield" name="element"/> where the element which stores the value entered in the textfield and which is used to call that value by servlets,jsp etc
when comes to nav which is used to navigate from one to another.<nav><a href="google.com"></a> </nav>we should use a compulsary in nav tag css code is nav{display:block;} etc
the field set used within the form if we want to add style you can add in this way
fieldset {
display: block;
margin-left: 2px;
margin-right: 2px;
padding-top: 0.35em;
padding-bottom: 0.625em;
padding-left: 0.75em;
padding-right: 0.75em;
border: 2px groove (internal value);
} the as same as the ul and li which are used to represent the lists. the additional property is we can change the font of the text within them .
li {
font-family: "Times New Roman", Times, serif;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.