Unselectable Attribute Example – HTML Syntax – Unselectable Example
Get 5 Hours of FREE PREMIUM Videos:
LearnVisualStudio.NET Free Preview
“ I am a lifetime member of LearnVisualStudio.net and a Premium Plus member of dotNetVideos.net.
LearnVisualStudio.net is awesome because it grows in value each year as more videos are added.
dotNetVideos.net is also great because it focuses a lot on MS Certifications and practical interview questions.
”
- Wade Harvey (IdealProgrammer.com)
Premium (Not Free) Video Tutorials
Free Video Tutorials & Free Tools
Unselectable Attribute Example – HTML Syntax – Unselectable Example
Purpose: – Illustrates the HTML syntax for the unselectable attribute.
You can download an excellent free html editor at nvu. This HTML editor will allow you to easily experiment with these examples. You can view an 8-minute video tutorial that I did at NVU HTML Editor
Function: unselectable="on" or unselectable="off" When unselectable is on, you cannot highlight the element with your cursor in the browser.
Restrictions: Does not work in Firefox browser
| HTML | | copy code | | ? |
< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<html> |
<head> |
<title>Unselectable Example</title> |
</head> |
<body> |
<p unselectable="off"> |
selectable |
text. |
</p> |
<p unselectable="on"> |
unselected text - does not work in firefox |
</p> |
</body> |
</html> |
Related posts:
- Face Attribute Example – HTML Syntax – Face Attribute Example Face Attribute - HTML Syntax - Example...
- Scroll Attribute Example – HTML Syntax – Scroll Attribute Example Scroll Attribute Example - HTML Syntax - Scroll Attribute Example...
- Color Attribute Example – HTML Syntax – Color HTML Example Color Attribute Example - HTML Syntax - Color HTML Example...
- Bordercolor Attribute Example – HTML Syntax – Bordercolor HTML Example Bordercolor Attribute Example - HTML Syntax - Bordercolor HTML Example...
- Disabled Attribute Example – HTML Syntax – Disabled HTML Example Disabled Attribute - HTML Syntax - Example...
Related posts brought to you by Yet Another Related Posts Plugin.













































