Skip to main content

Chapter 4 - HTML Basics

1.     HTML Documents

 The declaration is not an HTML tag. It is an "information" to the browser about what document type to expect. In HTML5, the <!DOCTYPE> declaration is very simple. We write as  <!DOCTYPE html>.

 The HTML document itself begins with <html> and ends with </html>. The visible part of the HTML document is between <body> and </body>.


2.     HTML Language

 <html lang="en"> attribute is used for declare the language of the Web pages


3.     This is the complete structure of HTML

 <!DOCTYPE html>

<html lang="en"> <! ---  for language --->

<head>

<! --- we can write scripts here --->

<title>Page Title</title>

</head>

 <body>

 <! --- we can write all the codes here --->

<h1>My First Heading</h1>

<p>My first paragraph.</p>

 </body>

 </html>


Comments

Popular posts from this blog

How to get a job after 12th without any investment.

 https://coderszilla.com/how-to-get-a-job-after-12th-without-any-investment/ Hello friends, Today I am going to tell you about some such skills in which you can earn from   10 thousand   to   1 lakh   per month. And These skills are available on YouTube and Google. Now a days all are have a smart phone you can start watching videos form your phone and after that purchase a laptop for work practice. So, make your career in IT Industry without any Highest Degree Like that   B.C.A. ,   M.C.A.   or   B.Tech.   Actually, my moto is to write this article who belongs to poor or middle family and he can’t pay highest money to done   B.Tech.   or any other highest courses. So, they can learn these skills and build your career in IT Industry. Digital Marketing  (SEO, SMO etc.) Graphic Designing ( UX Designer) Video Editing Graphics And Animation Front-end Developer Backend Developer Full-Stack Developer Blogger or Content Creator  (YouTube and Website) 1. Digital Marketing  (SEO, SMO etc.) Sourc

Chapter 2 : Structure of HTML

What is the structure of HTML ? The structure of HTML is just like our body. Such as our head, body and foot. HEAD is the first tag of HTML , where we keep styles, fonts, scripts etc. After that body section, where we write all codes, which appear in the browser . But head don’t appear any codes in the browser. It run in background. After that footer section. For Example: Code: < !DOCTYPE  html > < html > < head > <! --- we can write scripts here ---> < title > Page Title < /title > < /head > < body > <! --- we can write all the codes here ---> < h1 > My First Heading < /h1 > < p > My first paragraph. < /p > < /body > < /html > Diagram:

Chapter 6 : HTML 5 – Header Element

  HTML 5 – Header Element   The <header> element is the block level element which I have discussed in my previous article for what is block level elements .   The <header> HTML 5 element represents introductory content, typically a group of introductory or navigational aids. It may contain some heading elements but also a logo, a search form, an author name, and other elements.   These are the Following Uses of Header Element The header tag contains information related to the title and heading of the related content.   Main use of <header> in HTML 5 for creating header of websites Design Logo, Navigations and Headings thorough header. We can use several <header> elements in one document. The <header> element is intended to usually contain the section’s heading h1 to h6 The <header> element can also be used to wrap a section’s table of contents, a search form, or any relevant logos. The <header> tag is a HTML5’s tag and it re