Units Attribute Example – HTML Syntax – HTML Units Example
Units Attribute Example – HTML Syntax – HTML Units Example
Purpose: – Illustrates the HTML syntax for the units 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: units=”unitstype” Specify units for height and witdh.
Restrictions: None
< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Units Example</title> </head> <body> <a href="http://www.LearnVisualStudio.NET/119.html" target="_blank"><img id="lvs" src="http://idealprogrammer.com/wp-photos/LearnVisualStudio.png" units="px" height="82" width="290"/></a> </body> </html> |
