Skip to main content

HTML Page Structure

 There are 3 Sections of any HTML page --

1) Header

2) Main Section

3) Footer Sectore 



  • in Html need to writing opening tag before any tag < and end with closing tag >
  • The HTML page we've 2 fix children we called them Head and body
  • whatever part that is visible to us that is comes under body section 
  • What is Head part ? Head part is basically meta Data part , Meta data has some information of the page, Like title of the page will write under head part 
  • tag for head <head> </head>
  • tag for body - <body> </body>
  • <!DOCTYPE html>   // this is not tag this is important for the browser to interpret that this is html file and which version of html file u are using , this is actually html 5

What is a boilerplate? Boilerplate code in HTML is required to set up the basic web page structure. This web page structure is the same for all web pages in general. Body Content Automatic boilerplate generation in different Text Editors Text editors can produce HTML boilerplate for us. The basic boilerplate generated (as shown above) will always stay the same across all text editors. Although different text editors may produce some extra code as well apart from the basic boilerplate as shown above. For example, boilerplate produced by Atom text editor is: ● indicates the current version of HTML i.e., HTML5 ● 1. lang specifies the language of the content. lang="en" means language is English lang="es" means language is Spanish And so on. But we’ll be using English. Usage of lang attribute helps the browser to display the text in the desired language. 2. dir specifies the direction of text in which it’ll be displayed dir="ltr" means left to right dir="rtl" means right to left ● Declaring the "charset" as "UTF-8", tells the browser to use the UTF-8 character encoding, which is a method of converting the typed characters into machine-readable code. Notes: ● You need NOT cram and learn these. But as a software developer, you should be aware of this kind of HTML code and its meaning. ● There are some attributes that browsers consider implicitly by default if you don’t mention them explicitly. For example, the value of dir attribute is “ltr” (left to right) by default. Generating HTML Boilerplate in Sublime Text 1. go to Tools → Command Palette 2. Type ‘HTML’ then select ‘Set Syntax: HTM

Comments

Popular posts from this blog

Excel For Data Analysis

 sum = Add numbers, it is basically sumission  =SUM(number1, [number2], ...) Example: =SUM(A1:A7)  ⚡ Tips: You can use AutoSum for quick addition: Select a cell → click Home → AutoSum (Σ) → press Enter . Shortcut key: Alt + = (automatically inserts =SUM() ). Min = TO FIND MINIMUM VALUE  =MIN(A1:A12)  max = TO FIND MAXIMUM VALUE =MAX(A1:A13)  Right  ExamPle: =RIGHT(E2,10)  basically mere pas number hai 91 country code ke sath, main chahta hu 91 code ke bad right se 10 numbers mujhe nikal ke aa jaye yaha E2 mera column number hai and 10 jo mujhe chahiye right se Cases: किसी product code ke last digits निकालने के लिए  किसी date ya year ke last 2 digits निकालने के लिए किसी naam ke last letters निकालने के लिए Note: if I want to paste horizontally number then will use 'paste ke option me transpose left  == left se digits extract krne ke liye will use this  =LEFT(E2,2)   E2 IS CELL AND 2 IS DIG...

Statistics Data Science

  Types of Data: - Majorly deal with 2 types of data : 1) Numberical Data[continuos data] ex: age, salary, height                                                             Objective: Quantative Study                                                              2) Categorical Data[Dispreet Data]: ex: Gender, City etc                                                ...

Queues Data Strucuture in Java

 Queues is based on FIFO model means first in first out. Jis tarh ham stacks me data add krne ke liye push use krte the usi tarh QUEUES me data add krne ke enqueue likhte hai and if u want to remove element from queues we will use dequeue Queues me sare insertion rear end me hota hai. In Java, a queue is a data structure that follows the First-In-First-Out (FIFO) principle, meaning that the element added first will be removed first. Java provides several implementations of queues through the Queue interface, which is a part of the Java Collections Framework. The Queue interface extends the Collection interface and adds specific methods relevant to queues. Problem statement Send feedback A queue is a ? Ans: FIFO (First in First out)