The selectNode property

<!DOCTYPE html> <html> <style> p { color:#222; font...

The Range interface startBefore() and startAfter() methods

<!DOCTYPE HTML> <html> <style> div { color:#222; fo...

The Range interface setStart() and setEnd() methods

<!DOCTYPE html> <html> <style> p { color:#222; font...

The events bubbling example

<!DOCTYPE html> <html> <body> <div id="cube" s...

The events capturing example

<!DOCTYPE html> <html> <body> <div id="cube" s...

The event handler example

<!DOCTYPE html> <html> <body> <button id="btn"...

Adding and removing event listeners

<!DOCTYPE html> <html> <style> body {font-family:Calibri; f...

The Event object combined with mouse events example

<!DOCTYPE html> <html> <style> body {font-family:Calibri; f...

Example of onmouseover and onmouseout events

<!DOCTYPE html> <html> <body> <div id="cube" styl...

Example of onmousedown and onmouseup events

<!DOCTYPE html> <html> <head> <script> func...