answersLogoWhite

0

In index.html...











In style.css
.image1{
height: 100px;
width: 100px;
background-image: url(image1.png);
}

.image2{
height: 100px;
width: 100px;
background-image: url(image2.png);
}

This same thing can be achieved without CSS...
User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the name given to a piece of HTML code?

There is no specific name to a piece of HTML code. It is just an HTML code written in markup language.


What is the code for replacement cost?

There is no code. It's just replacement or sometimes abbreviated as RC.


What are the advantages and dsiadvantages of HTML converters?

there is not many disadvantages of HTML code editors but there are allot of advantages. HTML code editors can be helpful to others just as much as to them self's if not more. HTML code editors usually design websites and or web pages like the one this answer is on. the disadvantages all depend on the HTML code editor. example of a HTML code editor that has a disadvantage would be a HTML code editor that over advertises. Hope this helps <:


What can you use to compare the differences between two HTML files not the HTML code just the UI?

Flash


Where is the HTML code for comments?

You don't need a html code for comments. You just post a comment, or post a comment and wait to see if the uploader approves it.


How To Use HTML?

HTML stands for Hypertext Markup Language. HTML is the code used on websites all across the Internet. HTML is the code that makes a website a website. HTML is quite simple to learn how to use. HTML code that is typed by hand to create a website is old school now days. There are several programs out there are enable you to create a website without the need to know HTML code by hand. The new programs out there enables nearly anyone from the new person to the advanced person to make a website within minutes.The HTML code to make a link on your website is quite simple. HTML code is basic code that just learn to memorize in your mind. It is simple to remember to short code lines that you input to create certain things on a website like a small link to another page. HTML code is just a code like a different language. It is all memory.The new software out there made for creation of a website has the HTML code built into


Can someone make an HTML code where i can just put my file in and it to work please?

You have to give the complete file in order to make and HTML file. The file should be compatible with the code.


What is HTML-only?

All websites use HTML, but some sites use HTML in conjunction with one or more other coding languages like Javascript or CSS. HTML-only means it uses just the basic coding.


How can you get the HTML code from a HTML document?

If you mean HTML website, just check the page source. If you mean a '.html' document, Right click and select Open With and select any text editor.


Can you write HTML code on a Mac?

Yes. Any text editor can write HTML, or any web code. Just make sure to save the file as *.htm, *.html, *.shtml, etc. Note: Programs like Microsoft Word, OpenOffice, etc. are not capable of writing code.


What is the XE.com currency converter HTML code?

To view their currency converter HTML code; go to " View", then " Page Source " and you can see that sites HTML code. Or, you can just press CTRL + U on your keyboard. Also, please do not copy the code completely without editing at least 45% of it. It can be counted as plagiarism and you may be sued.


What is the HTML code for an asterisk?

It depends. In Unicode, its U+002A. If the page is in ASCII, then is 0x2A. But you shouldn't need an HTML entity. You should be about to just type it in *