Sunday, 15 October 2017

A HTML component is characterized by a beginning tag. On the off chance that the component contains other substance, it closes with an end tag, where the component name is gone before by a forward slice as appeared underneath with few labels −

Start TagContentEnd Tag
<p>This is paragraph content.</p>
<h1>This is heading content.</h1>
<div>This is division content.</div>
<br />
So here <p>....</p> is a HTML component, <h1>...</h1> is another HTML component. There are some HTML components which don't should be shut, for example, <img.../>, <hr/> and <br/> components. These are known as void components.

HTML archives comprises of a tree of these components and they determine how HTML records ought to be manufactured, and what sort of substance ought to be put in what part of a HTML report.

HTML Tag versus Component 

A HTML component is characterized by a beginning tag. On the off chance that the component contains other substance, it closes with an end tag.

For instance, <p> is beginning tag of a passage and </p> is shutting tag of a similar section yet <p>This is paragraph</p> is a passage component.

Settled HTML Elements 

It is especially permitted to keep one HTML component inside another HTML component −

Illustration 

<!DOCTYPE html>
<html>

   <head>
      <title>Nested Elements Example</title>
   </head>
 
   <body>
      <h1>This is <i>italic</i> heading</h1>
      <p>This is <u>underlined</u> paragraph</p>
   </body>
 
</html>

Related Posts:

  • Bold Typography An ever increasing number of organizations are swinging to enormous, intense typography to stay their landing pages. This style works best when whatever remains of the page is kept negligible and perfect, similar to this… Read More
  • Vivid Layers of Color Amazed, stacked layers of shading add profundity and surface to a straightforward site design, as found in this sleek case from the São Paulo-based group behind Melissa Meio-Fio.  … Read More
  • Make Money BY SELLING ONLINE Earning online by offering something on the web  On the off chance that you have an item, there is presumably a stage through which you can offer it. In the event that you don't have an item, there are numerous i… Read More
  • Profit Doing Stock Photography Like recordings and music this is an exceedingly focused market however in the event that you are gifted there are various settings on which you can offer your photography. RoyaltyFree - Search and download from a huge nu… Read More
  • Experimental Compositions To emerge in an ocean of clean stone work style formats, a few planners are picking rather for more mixed structures. Plan chief Will Geddes shows tests of his work in this sudden arrangement of covering pictures. … Read More

0 comments:

Translate

GoogleTech786. Powered by Blogger.

Subscribe Youtube

Our Facebook Page

Wikipedia

Search results

Popular Posts

Adsense