Skip to main content

THERES MORE INDENTATION

{

Theres more indentation

Exercise 9.1


1. Open the file Chapter 9 - List and Links.html concurrently in your browser and text editor.

2. Modify the CSS declaration for ol and observe what happens to the Cars Ordered List. Try each of the following:

(a) list-style-type: decimal-leading-zero;
(b) list-style-type: lower-roman;
(c) list-style-type: upper-roman;
(d) list-style-type: upper-alpha;
(e) list-style-type: lower-alpha;
(f) list-style-type: lower-greek;
(g) list-style-type: none;

3. Modify the CSS declaration for ul and observe what happens to the Cars Unordered List. Try each of the following:

(a) list-style-type: circle;
(b) list-style-type: square;
(c) list-style-type: none;
(d) list-style-type: disc;

4. Add the following rule to the CSS declaration for ul:

list-style-position: outside;

Refresh the browser. Nothing changes right? That is because list-style-position: outside; is the default. Now change list-style-position: outside; to list-style-position: inside;. You’ll notice that the unordered list is shifted slightly to the right (i.e. there’s more indentation).

5. Remove the list-style-type property for ul and add the following instead:

(a) list-style-image: url("myMarker.gif");

Observe what happens to the Cars Unordered List.

6. Now let’s look at how to style hyperlinks. Try adding the following rules to the stated selector:

(a) Add color: green; to a:link{}
and observe what happens to the ‘Click Me’ link.

(b) Add font-size: 2em; to a:active{}
and click on the link.

(c) Add background-color: red; to a:hover{}
and hover your mouse over the link.

|

Theres more indentation

Exercise 9.1


1. Open the file Chapter 9 - List and Links.html concurrently in your browser and text editor.

2. Modify the CSS declaration for ol and observe what happens to the Cars Ordered List. Try each of the following:

(a) list-style-type: decimal-leading-zero;
(b) list-style-type: lower-roman;
(c) list-style-type: upper-roman;
(d) list-style-type: upper-alpha;
(e) list-style-type: lower-alpha;
(f) list-style-type: lower-greek;
(g) list-style-type: none;

3. Modify the CSS declaration for ul and observe what happens to the Cars Unordered List. Try each of the following:

(a) list-style-type: circle;
(b) list-style-type: square;
(c) list-style-type: none;
(d) list-style-type: disc;

4. Add the following rule to the CSS declaration for ul:

list-style-position: outside;

Refresh the browser. Nothing changes right? That is because list-style-position: outside; is the default. Now change list-style-position: outside; to list-style-position: inside;. You’ll notice that the unordered list is shifted slightly to the right (i.e. there’s more indentation).

5. Remove the list-style-type property for ul and add the following instead:

(a) list-style-image: url("myMarker.gif");

Observe what happens to the Cars Unordered List.

6. Now let’s look at how to style hyperlinks. Try adding the following rules to the stated selector:

(a) Add color: green; to a:link{}
and observe what happens to the ‘Click Me’ link.

(b) Add font-size: 2em; to a:active{}
and click on the link.

(c) Add background-color: red; to a:hover{}
and hover your mouse over the link.

}

Popular posts from this blog

We will use it for every example in this book

We will use it for every example in this book For example, if the target at index 2 is 1, then the one-hot target will have a 1 at row 2, column 1. If the target at index n is k, then the one-hot target will have a 1 at row n, column k. We don’t use this if we don’t have to since it takes up more space. For most of the examples in this book, we can make use of “sparse_categorical_crossentropy”, but “categorical_crossentropy” must be used in special cases as we shall see. Next, what is the “optimizer”? You can see we’ve chosen an optimizer called “adam”. This can get quite mathematical, so if you’re not into the math, just remember that “adam” is a typical default used by modern deep learning researchers today. We will use it for every example in this book. I’ve linked to other types of optimizers in the code, or you can just click here: https://keras.io/optimizers/ . For the more mathematically-inclined, I mentioned earlier that we use gradient descent to train the model parameters....

THIS SORT OF ROUTING IS WHAT IS USED IN MOST MODERN DAY WEB APPLICATIONS

This Sort Of Routing Is What Is Used In Most Modern Day Web Applications If the command is executed successfully, the following Output will be shown when you run your code in the browser. Output: From the output, You can clearly see that we if browse to the URL of localhost on port 3000, you will see the string Welcome to Guru99 Tutorials displayed on the page. Because in our code, we have mentioned that our default URL would display this message. From the output, You can see that if the URL has been changed to /Node, the respective Node route would be chosen and the string "Tutorial On Node is displayed. From the output, You can see that if the URL has been changed to /Angular, the respective Node route would be chosen and the string "Tutorial On Angular" is displayed. Sample Web server using express.js From our above example, we have seen how we can decide on what output to show based on routing. This sort of routing is what is used in most modern day web ap...

How To Remove Waterproof Mascara Without Losing Eyelashes

First off, waterproof mascara is designed to be proof against water. For sustainability reasons, I usually keep away from repeatedly utilizing wipes. But if you're using a number of cotton pads per eye together with your oily cleanser, is that really extra sustainable? Both way: The Serge Lutens Makeup Eradicating Pads Are. Incredible. The wipes are soaked in a vegetable squalene—far much less greasy, but equally as effective as any oil. And so they're saturated in the excellent quantity of product (not like my DIY-cotton-pad version, which drips everywhere). With these around, I might actually consider converting to waterproof make-up for good. Somebody would just must sponsor me. How To Remove Waterproof Mascara From Clothes We get it: When you're exhausted after a long day, the very last thing you need to do is stand in front of your lavatory mirror scrubbing your face until you get each little last little bit of waterproof mascara off. It doesn't should be that way....