wget in a loop

I have not done any scrpting before and also new to unix. Thanks.

I am using wget to download contents as below:

wget http://server/app/browse/downloadRaw?id=23456

I want to do this programatically. For example, I have a list of id in a text file as below:

list.txt

----------
23456
78910
..
..
.
.
-----------
How do I write a shell script to open list.txt and use that id and invoke wget command? Thanks.
Regards

for i in `cat list.txt`; do wget http://server/app/browse/downloadRaw?id=$i; done