0% found this document useful (0 votes)
26 views2 pages

Tryit Editor V1liss

The document is an HTML code snippet that defines an unordered list with three list items (Coffee, Tea, Coca Cola). CSS is used to remove the default list styling and add a repeating purple background image to each list item.

Uploaded by

Ankit Saha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views2 pages

Tryit Editor V1liss

The document is an HTML code snippet that defines an unordered list with three list items (Coffee, Tea, Coca Cola). CSS is used to remove the default list styling and add a repeating purple background image to each list item.

Uploaded by

Ankit Saha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

8/4/13

Tryit Editor v1.8

Submit Code Source Code: Result: W3Schools.com - Try it yourself < ! D O C T Y P Eh t m l > Coffee < h t m l > Tea < h e a d > Coca Cola < s t y l e > u l { l i s t s t y l e t y p e : n o n e ; p a d d i n g : 0 p x ; m a r g i n : 0 p x ; } u ll i { b a c k g r o u n d i m a g e : u r l ( s q p u r p l e . g i f ) ; b a c k g r o u n d r e p e a t : n o r e p e a t ; b a c k g r o u n d p o s i t i o n : 0 p x5 p x ; p a d d i n g l e f t : 1 4 p x ; } < / s t y l e > < / h e a d > < b o d y > < u l > < l i > C o f f e e < / l i > < l i > T e a < / l i > < l i > C o c aC o l a < / l i > < / u l > < / b o d y > < / h t m l >

w3schools.com/css/tryit.asp?filename=trycss_list-style-image_crossbrow

1/2

8/4/13

Tryit Editor v1.8

Edit the code above and click "Submit Code" to see the result.

w3schools.com/css/tryit.asp?filename=trycss_list-style-image_crossbrow

2/2

You might also like