Skip to content

New article: The jQuery Object #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

jugglinmike
Copy link
Contributor

I tried to address the confusion described by issue #95 in as concise a manner as possible.

A DOM element is a "piece" of a web page.
It can contain text and/or other DOM elements.
It is described by a type (i.e. "div", "a", "p", etc.) and any number of attributes (i.e. "src", "href", "class", etc.).
For a more thorough description, please refer to [the office specification from the W3C](http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"official" not "office"

@jugglinmike
Copy link
Contributor Author

@addyosmani Sounds good to me. How about re-writing the section title to match:

What is a DOM element? What is the DOM, for that matter?

The DOM (short for Document Object Model) is a representation of an HTML document. It may contain any number of DOM elements. At a high level, you can think a DOM element as a "piece" of a web page. It can contain text and/or other DOM elements...

@addyosmani
Copy link
Member

@jugglinmike I was just going through this PR and I was wondering if you might be able to file a new one with the updated changes you're suggesting. I feel it would be easier to review them in one go with a diff. We'll be happy to reconsider accepting this after that.

jugglinmike added a commit to jugglinmike/learn.jquery.com that referenced this pull request May 20, 2012
@jugglinmike
Copy link
Contributor Author

Sure thing @addyosmani See #113

@addyosmani
Copy link
Member

Thank you, @jugglinmike! We'll review :)

arthurvr pushed a commit to arthurvr/learn.jquery.com that referenced this pull request Jan 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants