• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tag body

 
Chandrakant Nambiar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Please refer Pg 472 - HFSJ. If the tag is defined as <body-content>scriptless</body-content> and if a script is present in the body of the tag, does it result in an error or the contents are displayed as such(without evaluating the script)?

Thanks,
Chandrakant
 
Neeraj Singhal
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chandrakant

When the <body-content> is specified as scriptless and if a script is present in the body of the tag, it results in an error.
[ February 27, 2008: Message edited by: Neeraj Singhal ]
 
Chandrakant Nambiar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
Chandrakant Nambiar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please confirm if the <body-content> had been tagdependent, the scriplet (in the tag body) would have been printed to the page AS-IS?
 
Neeraj Singhal
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. If the body-content is tagdependent, the scriptlet would be ouput in the html source as it is and will be ignored from displayng in the browser since its an unknown tag for the browser.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic