Skip to main content

Html Basics

 

image source - google

1: What is HTML ?

A:  HTML is a Hiper Text Markup Language, it's basicaly means we can structure our web document throw html markups.If we want to make a web page or web documrnt then we have to first start with the html, like this,

<Html>

   <Head>

   </Head>

   <Body>

   </Body>

</Html>

2: What is <Head>?

A: Head is a child tag of Html, this comes under the html parent tag, and it contains the the information about the html page, like css file link, js file link, meta info. , screen size info, and other if you are using bootstrap or popper.js or any jquery file link.

3: What is <Body>?

A: Body is also a child tage of html tag but it contain's the data which visible on the wab page only.             like, Tables, Images, List's, Drop Down etc..

4: Which  basics thing's that we have to remember in general at the time of mking any web page using html ?

A: 1: We should save the file with .html extension

     2: At the top of the html file above the html tag we should declare the doctype as <Doctype Html> 

         it generaly means we are writing html code inside this file.

     3: If we are using any external css of js file then we have to link those file's in the head section.

     4: If we are using any intenal css of js file then we have to write those file's in the head section.

     5: if you are using a javascript/jquery that has any dependancy of your html file then, you should               write that code or link thos file's inside the lower body section. 


Comments

Popular posts from this blog

most importent core java interview questions and answers

   Most Important Core  Java Interview Questions &  Answers for fresher and experience both 1. What is java? A. java is object oriented programing language which is invented by james gosling in 1995. first version of java is called oak but after that its name was changed with java. 2. What are the features of java? A. There are some features of java :    (a) Platform independent.   (b) Object Oriented Programming Language.   (c) Strongly-typed Programming Language.   (d) Interpreted and Compiled Language.   (e) Automatic Memory Management. 3.What is mean by  Platform independent ? A. Java is plateform independent because java uses JVM ( java virtual machine for run the      bytecode wich is generated by java compiler ) and JVM is plateform dependent so every     java code after compilation it ganerates bytecode wich is pateform independ...

Core java collection framework interview questions and answers second part...

                                            1: which classes of collection framework that takes only homogeneous (same type) objects only. Ans: Only there are two classes that takes homogeneous elements those are TreeSet and TreeMap.                                                   2: How ArrayList work's internally? Ans:             Example :       ArrayList :     | 1 | 5 | 6 | 9 | 4 | 5 | 2 | 11 |      Size : 8      index : 0 - 7 arraylist is same as an array but it's dynamic array so, it increases it's size when required.    when you create a arraylist object initially it's size will be 10, and as you inter any value that  will go in in in...

Java Inheritance

#Java Inheritance Interview Questions      #inheritance | #multilelelinheritance | #single inheritance | #javainheritance | #oppsinheritance |     #java  | #OOps | #corejava | #corejavainheritance | #java inheritance | #coreinheritance |   #oopjavainheritance   1: What is inheritance?   A: Inheritance is the most important feature in any object-oriented programming language, This is a                child-parent relationship that allows as to reuse the same logic or same code in a specific manner.   2: How many types of inheritance are supported by java? A:  4 types of inheritance are supported by java,           Single-Level, Multi-Level, Hierarchical, Multiple. Note: In java multiple inheritance, we can achive through Interface.                                   ...