Skip to content

Commit 2cd0cd0

Browse files
committed
Types: Fixed usage of <code>.
1 parent ca266fb commit 2cd0cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/Types.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ <h2 id="Event">Event</h2>
561561
</p>
562562
<p>Those properties are all documented, and accompanied by examples, on the <a href="http://api.jquery.com/category/events/event-object/" title="Events">Event object</a> page.
563563
</p>
564-
<p>The standard events in the Document Object Model are: <code>blur, focus, load, resize, scroll, unload, beforeunload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress,</code> and <code>keyup</code>. Since the DOM event names have predefined meanings for some elements, using them for other purposes is not recommended. jQuery's event model can trigger an event by any name on an element, and it is propagated up the DOM tree to which that element belongs, if any.
564+
<p>The standard events in the Document Object Model are: <code>blur</code>, <code>focus</code>, <code> load</code>, <code>resize</code>, <code>scroll</code>, <code>unload</code>, <code>beforeunload</code>, <code>click</code>, <code>dblclick</code>, <code>mousedown</code>, <code>mouseup</code>, <code>mousemove</code>, <code>mouseover</code>, <code>mouseout</code>, <code>mouseenter</code>, <code>mouseleave</code>, <code>change</code>, <code>select</code>, <code>submit</code>, <code>keydown</code>, <code>keypress,</code> and <code>keyup</code>. Since the DOM event names have predefined meanings for some elements, using them for other purposes is not recommended. jQuery's event model can trigger an event by any name on an element, and it is propagated up the DOM tree to which that element belongs, if any.
565565
</p>
566566
<h2 id="Element"> Element </h2>
567567
<p>An element in the Document Object Model (DOM) has attributes, text and children. It provides methods to traverse the parent and children and to get access to its attributes. Due to a lot of flaws in DOM API specifications and implementations, those methods are no fun to use. jQuery provides a wrapper around those elements to help interacting with the DOM. But often enough you will be working directly with DOM elements, or see methods that (also) accept DOM elements as arguments.

0 commit comments

Comments
 (0)