Skip to main content

HTML Describes the Structure of Pages

You can see an HTML code Below. If you Don't understand Than Don't worry, remember we just started our journey.


There are two types of tags. one is opening tag and one is closing tag.in the code you see red and yellow text that called tags. All red tags are opening tags and all yellow are closing tags.

CODE
 <html>
<body>
<h1>This is main heading</h1>
<p>This text might be an introduction to the  rest of the page. And if the page is a long one it might be split up into several sub-headings.</p> 
<h2>This is a sub-heading </h2>
<p>Many long articles have sub-headings. so to help you follow the structure of what is being written, There may even be sub-sub-heading(or lower-level headings).</p>
<h2>This is another sub-heading</h2>
<p>here you can see another sub-heading.</p>
</body>
</html>
For more blogs related to technology you can visit Relatetechno.codes

Comments

Popular posts from this blog

TEXTS

When creating a web page, we add tags (known as markup) to the contents of the page. These tags provide extra meaning and allow browsers to show users the appropriate structure for the page. Structural markup:  The element that you can use to describe both headings and paragraphs. Semantic markup: Which provides extra information such as where the emphasis is placed in a sentence that something you have written is a quotation (and who said it) the mean of acronyms and so on. Next > HEADINGS AND PARAGRAPHS Enjoy  😀 For more blogs related to technology you can visit Relatetechno.codes

HEADINGS AND PARAGRAPHS

HEADINGS: <h1> <h2> <h3> <h4> <h5> <h6> There are six levels of headings. <h1> is used for main headings <h2> is used for subheadings If there are further sections under the subheadings then the <h3> element is used, and so on... Browsers display the contents of headings at different sizes. The contents of an <h1> element are the largest, and the contents of an <h6> element are the smallest. The exact size at which each the browser shows the headings can vary slightly. Users can adjust the size of the text by using CSS. HEADING LEVELS PARAGRAPHS: To create a paragraph, surround the words that make up the paragraph with an opening <p> tag and closing </p> tag. By default, a browser will show each paragraph on a new line with some space between it and any subsequent paragraphs. paragraph next> Bold & italic and scripts(sub&super) Enjoy  😀 For more blogs related to technology you can visit Rela...

LINKS

 Links links are very useful for us. they allows us to move one page to another page. it will make a better experience for user. <a> Links are created with <a> tag element . Users can click Anything between the opening and closing</a> tag. We can specify which page we want to link with href attribution. Linking to Other Website <a href="https://www.wikipedia.org">Wikipedia Home</a> Linking page on  same website <a href="index.html">Home</a> Email Link <a href="mailto:sagar@sagarved.com">Email To Sagar</a> Opening Links in a New Window Target  <a href="google.com" target="_blank">Google Home</a> Linking To a Specific Part in a Same Page To achieve this we  use I'd'. For referencing  A id element we use # and followed by link . <a href="#contact">Contact</a> Linking to a Specific part on Another Page If we want to link a specific part then we r...