Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me
All your queries regarding HTML will be solved in this forum
  • Page:
  • 1
TOPIC:

HTML tags

HTML tags 1 year, 7 months ago #274

  • kate
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
What is the difference between Empty and Non Empty Tags of HTML?

Re:HTML tags 1 year, 7 months ago #277

  • sami
  • OFFLINE
  • Junior Boarder
  • Posts: 24
  • Karma: 0
The EMPTY elements (which are normally use in document) are:
1. hr Horizontal rule
2. br Line break
3. img Inline image
4. input Input

<Hr> and <br> are used simply as markers and cause a horizontal rule or line break to be inserted in the output. <img> and <input> (which is only used in forms), are used for the attributes they carry. For example, <img src="globedfruit.gif"> tells the browser to insert the file "globedfruit.gif" into the output.

Do not confuse an EMPTY element with an element that just happens to have nothing in it at the moment.
  • Page:
  • 1
Time to create page: 2.91 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download