Bilal AK 0 Posted July 29, 2012 Report Share Posted July 29, 2012 hy to aaaaavery one out there, help!!!! :Shock:I have been learning HTML on this site for over almost three-four weeks I am in HTML basics..at HTML layout,so aaplease can somebody tell me what is this: id=" " attribute it's value it's use in layout and beside that.and these <div> and <span> &<div id="container" (<<<<<<<<what's this) style="width:500px"> (a line from the example given in HTML layout) Quote Link to post Share on other sites
birbal 168 Posted July 29, 2012 Report Share Posted July 29, 2012 id is unique attributes to the whole page to identify elements uinqely. there cant be two same id in a page. id is mainly used in when you do javascript oprations on the document or when you use CSS. div is block level element which build the page structure. it defines part of page.span is inline element which define part of text inline. they dont do anything visually but helps to format the page and applying styles on them. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.