Jump to content
Sign in to follow this  

reference guide prob

Recommended Posts

hi there,


i got a prob with finding refence for attributes. perhaps im not looking right, or missing things.


i started looking for div attributes, finding on w3s this:

- The <div> tag also supports the Global Attributes in HTML.

- The <div> tag also supports the Event Attributes in HTML.


i also checkt this site:


at 7.5.4 there is it about the div


now, i got this: (and it works just fine)


<!doctype html>
<title>my first website</title>
<style type="text/css">
#myfirstdiv {border:2px solid red;
<div id="myfirstdiv">hello there!</div>
i figure, this are examples of attributes: top, left, position, border, width (thats what i think at least..)
but i dont see those above on the reference links.
do i interpret something wrong?
regards, R

Share this post

Link to post
Share on other sites

ah.....just found my own aswer i gues,


its css, not html attributes.

pfff, html/css is big, how do i ever find out and get in my head what belongs where, and when can i use what??

Share this post

Link to post
Share on other sites

and attributes

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...