SlideShare a Scribd company logo
1 of 18
WEB DEVELOPMENT BASICS
BY
KALLURI VINAY REDDY
12MSE1013
VIT CHENNAI
TOPICS
Head of tables
Naming your Table
Styles in heads
Introduction to div tag, span.
HEAD OF THE TABLE
To make our table look a little more like a table, we’ll use the
<thead> and <tbody> tags
These go within the <table> tag and stand for table head and table
body ,respectively
The <head> HTML tag contains information about a web page
The <body> tag contains the contents of the web page.
The <thead> tag can be thought of as containing information about a
table and the <tbody> tag containing the actual tabular data.
SAMPLE CODE
<html>
<head>
<title>Table Time</title>
</head>
<body>
<table border="10px">
<tbody>rich</tbody>
<tr>
<td>King Kong</td>
<td>1933</td>
</tr>
</table>
</body>
</html>
TABLE HEADS
We have just added a <thead> tag above the <tbody>.
It will hold the heading for each column.
SAMPLE
CODE FOR
TABLE
HEAD
<html>
<head>
<title>Table Time</title>
</head>
<body>
<table border="1px">
<thead>VINAY</thead>
<tr>
<th>items</th>
<th>names</th>
</tr>
<td>
famous monster
</td>
<td>monkey</td>
</tbody> </table>
</body></html>
NAMING YOUR TABLE
Our table is missing a little.
We want to add a title row that goes all the way across the
top.
To do so, we need to use the colspan attribute for the <th>
tag.
By default table cells take up 1 column
If we want a table cell to take up the space of 3 columns
instead of 1 ,we can set the colspan attribute to 3
SAMPLE CODE
<html>
<head>
<title>Table Time</title>
</head><body>
<table border="10px">
<thead>
<tr> <th>Famous Monsters by Birth Year</th>
<th colspan="2">what the next</th>
</tr> <tr>
<th>Famous Monster</th>
<th colspan="2">Birth Year</th> </tr>
</thead>
<tbody>
<tr>
<td>King Kong</td> <td>1933</td>
</tr>
</tbody></table></body></html>
STYLE THE TABLE
Your table is starting to look great, but it's still a little bland.
We've gone ahead and added some styling to the table to make it a bit
easier to read.
It's your job to add the finishing touches!
Note:
Code cannot be give because of the number of lines if needed can be
requested through mail.
INTRODUCTION TO DIV TAG, SPAN.
‘DIV’ide and conquer
One of the most versatile structure tags available to you is
the <div></div> tag
Short for “division “ ,<div> allows your page into containers
(that is, different pieces).
This will come in handy when you begin learning CSS in the
next coming classes where you’ll be able to style different
parts of your website individually
SAMPLE CODE
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
</head>
<body>
<div style="width:50px; height:50px; background-color:red"></div>
<div style="width:50px; height:50px; background-color:blue"></div>
<div style="width:50px; height:50px; background-color:green"></div>
<div style="width:50px;height:50px;background-color:yellow"></div>
</body></html>
HOW TO LINK THEM ?
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
</head>
<body>
<div style="width:50px; height:50px; background-color:red"></div>
<div style="width:50px; height:50px; background-color:blue"></div>
<div style="width:50px; height:50px; background-color:green"></div>
<a href="www.google.co.in"><div style="width:50px; height:50px; background-
color:yellow"></div></a>
</body></html>
The code in the above slide divides the web page into four parts
Each part has its own colour and size.
But the yellow colour in the web page when you click it goes to the
google website
That is linking is done through the <a></a> tags very important tags
in the webpage design.
SPAN
• <span> allows you to control styling for smaller parts of your page,
such as text
• For example , if you always want the first word of your paragraphs
to be red
• You can do it by wrapping each first word in <span></span> tags .
SAMPLE CODE FOR SPAN
<!DOCTYPE html>
<html>
<head>
<title></title> </head>
<body>
<p>This text is black, except for the word <span
style="color:red">red</span>!</p>
</body>
</html>
With this we have completed major elements in web designing
without adding any decoration or animation we can say effects in
later slides I will discuss about them clearly relating to the HTML
concepts
REFERENCES
www.codecademy.com
Head first web design .
Learning web design-Jennifer Niederst Robbins
www.w3schools.com
Thank you
Any doubts
Email: kalluri.vinayreddy@gmail.com

More Related Content

What's hot

What's hot (20)

CSS LAY OUT
CSS LAY OUTCSS LAY OUT
CSS LAY OUT
 
Html - By Auroskkil
Html - By AuroskkilHtml - By Auroskkil
Html - By Auroskkil
 
Css module1
Css module1Css module1
Css module1
 
Css
CssCss
Css
 
Introduction to web design discussing which languages is used for website des...
Introduction to web design discussing which languages is used for website des...Introduction to web design discussing which languages is used for website des...
Introduction to web design discussing which languages is used for website des...
 
html tags
 html tags html tags
html tags
 
Css introduction
Css  introductionCss  introduction
Css introduction
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 
Css mod1
Css mod1Css mod1
Css mod1
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
CSS Refresher
CSS RefresherCSS Refresher
CSS Refresher
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
 
Boostrap basics
Boostrap basicsBoostrap basics
Boostrap basics
 
Css starting
Css startingCss starting
Css starting
 
Css
CssCss
Css
 
CSS Training in Bangalore
CSS Training in BangaloreCSS Training in Bangalore
CSS Training in Bangalore
 
Div Tag Tutorial
Div Tag TutorialDiv Tag Tutorial
Div Tag Tutorial
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheet
 
Hypertext markup language(html)
Hypertext markup language(html)Hypertext markup language(html)
Hypertext markup language(html)
 

Similar to WEB DEVELOPMENT BASICS: DIV, SPAN, TABLE TAGS

Similar to WEB DEVELOPMENT BASICS: DIV, SPAN, TABLE TAGS (20)

HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
 
CSS3 Introduction
CSS3 IntroductionCSS3 Introduction
CSS3 Introduction
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Design
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
HTML & CSS 2017
HTML & CSS 2017HTML & CSS 2017
HTML & CSS 2017
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
cse labpractical.ppt
cse labpractical.pptcse labpractical.ppt
cse labpractical.ppt
 
[SUTD GDSC] Intro to HTML and CSS
[SUTD GDSC] Intro to HTML and CSS[SUTD GDSC] Intro to HTML and CSS
[SUTD GDSC] Intro to HTML and CSS
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
 
Html tags describe in bangla
Html tags describe in banglaHtml tags describe in bangla
Html tags describe in bangla
 
Html tag list
Html tag listHtml tag list
Html tag list
 
Session 2 intro to Css
Session 2 intro to CssSession 2 intro to Css
Session 2 intro to Css
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
HTML Tutorials
HTML TutorialsHTML Tutorials
HTML Tutorials
 
IP - Lecture 6, 7 Chapter-3 (3).ppt
IP - Lecture 6, 7 Chapter-3 (3).pptIP - Lecture 6, 7 Chapter-3 (3).ppt
IP - Lecture 6, 7 Chapter-3 (3).ppt
 
Tags
TagsTags
Tags
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
Unit 2.12
Unit 2.12Unit 2.12
Unit 2.12
 
Session on common html table
Session on common html tableSession on common html table
Session on common html table
 

More from Kalluri Vinay Reddy

More from Kalluri Vinay Reddy (13)

Chapter 2 lesson-2 styling the action bar
Chapter 2 lesson-2 styling the action barChapter 2 lesson-2 styling the action bar
Chapter 2 lesson-2 styling the action bar
 
Chapter 2 lesson-1 adding the action bar
Chapter 2 lesson-1 adding the action barChapter 2 lesson-1 adding the action bar
Chapter 2 lesson-1 adding the action bar
 
Create an other activity lesson 3
Create an other activity lesson 3Create an other activity lesson 3
Create an other activity lesson 3
 
Building a simple user interface lesson2
Building a simple user interface lesson2Building a simple user interface lesson2
Building a simple user interface lesson2
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
 
Social media marketing
Social media marketingSocial media marketing
Social media marketing
 
Data Centers and Internet
Data Centers and InternetData Centers and Internet
Data Centers and Internet
 
Frame relay
Frame relayFrame relay
Frame relay
 
Web development basics 3
Web development basics 3Web development basics 3
Web development basics 3
 
Web development basics2
Web development basics2Web development basics2
Web development basics2
 
Android basic
Android basicAndroid basic
Android basic
 
Web development basics
Web development basicsWeb development basics
Web development basics
 
Inside Google
Inside Google Inside Google
Inside Google
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

WEB DEVELOPMENT BASICS: DIV, SPAN, TABLE TAGS

  • 1. WEB DEVELOPMENT BASICS BY KALLURI VINAY REDDY 12MSE1013 VIT CHENNAI
  • 2. TOPICS Head of tables Naming your Table Styles in heads Introduction to div tag, span.
  • 3. HEAD OF THE TABLE To make our table look a little more like a table, we’ll use the <thead> and <tbody> tags These go within the <table> tag and stand for table head and table body ,respectively The <head> HTML tag contains information about a web page The <body> tag contains the contents of the web page. The <thead> tag can be thought of as containing information about a table and the <tbody> tag containing the actual tabular data.
  • 4. SAMPLE CODE <html> <head> <title>Table Time</title> </head> <body> <table border="10px"> <tbody>rich</tbody> <tr> <td>King Kong</td> <td>1933</td> </tr> </table> </body> </html>
  • 5. TABLE HEADS We have just added a <thead> tag above the <tbody>. It will hold the heading for each column.
  • 6. SAMPLE CODE FOR TABLE HEAD <html> <head> <title>Table Time</title> </head> <body> <table border="1px"> <thead>VINAY</thead> <tr> <th>items</th> <th>names</th> </tr> <td> famous monster </td> <td>monkey</td> </tbody> </table> </body></html>
  • 7. NAMING YOUR TABLE Our table is missing a little. We want to add a title row that goes all the way across the top. To do so, we need to use the colspan attribute for the <th> tag. By default table cells take up 1 column If we want a table cell to take up the space of 3 columns instead of 1 ,we can set the colspan attribute to 3
  • 8. SAMPLE CODE <html> <head> <title>Table Time</title> </head><body> <table border="10px"> <thead> <tr> <th>Famous Monsters by Birth Year</th> <th colspan="2">what the next</th> </tr> <tr> <th>Famous Monster</th> <th colspan="2">Birth Year</th> </tr> </thead> <tbody> <tr> <td>King Kong</td> <td>1933</td> </tr> </tbody></table></body></html>
  • 9. STYLE THE TABLE Your table is starting to look great, but it's still a little bland. We've gone ahead and added some styling to the table to make it a bit easier to read. It's your job to add the finishing touches! Note: Code cannot be give because of the number of lines if needed can be requested through mail.
  • 10. INTRODUCTION TO DIV TAG, SPAN. ‘DIV’ide and conquer One of the most versatile structure tags available to you is the <div></div> tag Short for “division “ ,<div> allows your page into containers (that is, different pieces). This will come in handy when you begin learning CSS in the next coming classes where you’ll be able to style different parts of your website individually
  • 11. SAMPLE CODE <!DOCTYPE html> <html> <head> <title>Result</title> </head> <body> <div style="width:50px; height:50px; background-color:red"></div> <div style="width:50px; height:50px; background-color:blue"></div> <div style="width:50px; height:50px; background-color:green"></div> <div style="width:50px;height:50px;background-color:yellow"></div> </body></html>
  • 12. HOW TO LINK THEM ? <!DOCTYPE html> <html> <head> <title>Result</title> </head> <body> <div style="width:50px; height:50px; background-color:red"></div> <div style="width:50px; height:50px; background-color:blue"></div> <div style="width:50px; height:50px; background-color:green"></div> <a href="www.google.co.in"><div style="width:50px; height:50px; background- color:yellow"></div></a> </body></html>
  • 13. The code in the above slide divides the web page into four parts Each part has its own colour and size. But the yellow colour in the web page when you click it goes to the google website That is linking is done through the <a></a> tags very important tags in the webpage design.
  • 14. SPAN • <span> allows you to control styling for smaller parts of your page, such as text • For example , if you always want the first word of your paragraphs to be red • You can do it by wrapping each first word in <span></span> tags .
  • 15. SAMPLE CODE FOR SPAN <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>This text is black, except for the word <span style="color:red">red</span>!</p> </body> </html>
  • 16. With this we have completed major elements in web designing without adding any decoration or animation we can say effects in later slides I will discuss about them clearly relating to the HTML concepts
  • 17. REFERENCES www.codecademy.com Head first web design . Learning web design-Jennifer Niederst Robbins www.w3schools.com
  • 18. Thank you Any doubts Email: kalluri.vinayreddy@gmail.com