HTML was designed for document layout so the noscript and noframes are about as close as HTML gets to handling conditionals. You could conceivably approach this problem with javascript.
do something
do something
of course this only works if the client has javascript turned on.