You can use getElementsByTagName("A") to get the <a> elements o DIV to get the <div>, etc. You will get an array and then you can use length to get the number of elements of that type. Bye! Germán Sibay -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Iztok Polanic Sent: Wednesday, March 30, 2005 12:16 PM To: [JavaScript List] Subject: [Javascript] number of elements Hi! How to count number of elements (<a>,<div> etc. tags) in a page? -- Bye, Iztok _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript