Header Ads Widget

Responsive Advertisement

Line Break Tag

 Whenever you use the<br />element, anything following it starts from the next line. This tag is an example of anemptyelement, where you do not need opening and closing tags, as there is nothing to go in between them.The <br /> tag has a space between the charactersbrand the forward slash. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use <br> it is not valid in XHTML. 

Example


 

Related Posts:

  • The DeclarationThe <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration: There are many other decl… Read More
  • HTML Document StructureA typical HTML document will have the following structure: We will study all the header and body tags in subsequent chapters, but for now let's see what is document declaration tag. … Read More
  • Heading Tags  Any document starts with a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements<h1>, <h2>, <h3>, <h4>, <h5>, and <h6… Read More
  • Basic HTML DocumentIn itssimplest form, following is an example of an HTML document: Either you can useTry itoption available at the top right corner of the code box to check the result of this HTML code, or let's save it in an HTML filetest.… Read More
  • HTML Tags As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces<Tag Name>. Except few tags, most of the tags have the… Read More

0 Comments:

Post a Comment