slide 1 of 3
Stock quotes are just one of those things you do not create from scratch as this is data picked up from a certain source such as Google finance and Yahoo finance and several other sources of your choice. Some may be commercial while others may be free.
slide 2 of 3
This file is stored on a location on your own web server. In this case the file is on the same directory as your HTML file.
<span>Stock Quotes: </span>
<span><span>ABC</span> 1.543 0.2%</span>
<span><span>SDF</span> 12.543 -0.74%</span>
<span><span>JDF</span> 34.543 5.2%</span>
<span><span>ERA</span> 123.234 1.2%</span>
<span><span>DFF</span> 20.543 -5.2%</span>
<span><span>CBX</span> 523.234 0.0%</span>
<span><span>IZF</span> 89.65 -3.4%</span>
slide 3 of 3
You may need to populate the HTML span items dynamically at the server level based on the stock data service providers documentation. A good place you may like to start is using the Yahoo stocks data.
You might also want to implement Ajax code to help you dynamically update the stocks specific intervals. A sample of the code that can do this is