--%>

Determine incorrect tags in HTML

What is incorrect with my < br > Tags?

E

Expert

Verified

When you are used HTML syntax, you can write your <br> tags as into the paragraph below:
< p >
I love the way you look at me, < br >
Your eyes bright and blue. < br >
I love the way you help me, < br >
< /p >
But such paragraph will be invalid when XHTML documents, as all 4 < br > are not closed. You must change this to:
< p >
I love the way you look at me, < br/ >
Your eyes bright and blue. < br/ >
I love the way you help me, < br/ >
< /p >

   Related Questions in Programming Languages

  • Q : Self-created What is the difference

    What is the difference among a self-created certificate, Symbian Signed and a Symbian developer certificate?

  • Q : Define the term Catching exceptions

    Catching exceptions: Exceptions are caught in the catch clause of the try statement. Catching an exception provides the program a chance to recover from the trouble or attempt a repair for whatsoever caused it.

  • Q : Index value of the initial element in

    Write the index value of the initial element in an array?

  • Q : Define the term Toggle Define the term

    Define the term Toggle: To alternate among two values, like true and false, on and off, or 1 & 0.

  • Q : Create a BottomUpTwoThreeFourTree class

    You will need to create a BottomUpTwoThreeFourTree class, with a BottomUpTwoThreeTreeFourTree constructor which keeps no parameters. BottomUpTwoThreeTreeFourTree will require an insert(int x) method, which will insert the value 

  • Q : What is MIME MIME : Multipurpose

    MIME: Multipurpose Internet Mail Extensions (abbreviated as MIME) are rules which make it possible to utilize electronic mail to send content other than the simple text.

  • Q : Define Hardware Hardware : It is the

    Hardware: It is the physical devices of a computer system, like its micro-chips, keyboard, disk drives, printer, sound card, and so forth. It is termed `hardware' in contrary to programs, which are termed `software'.

  • Q : Double clock signal in synchronous

    Describes the cases where you need to double clock a signal before presenting this to a synchronous state machine?

  • Q : Define Scope Scope : A language's scope

    Scope: A language's scope rules establish how broadly variables, methods and classes are visible in a class or program. The local variables contain a scope restricted to the block in which they are stated, for example. Private methods and variables co

  • Q : Explain the way to write the opening

    Explain the way to write the opening tag of an XHTML element.