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

CSS LAY OUT
CSS LAY OUTCSS LAY OUT
CSS LAY OUT
kylleses
 
Div Tag Tutorial
Div Tag TutorialDiv Tag Tutorial
Div Tag Tutorial
bav123
 
Hypertext markup language(html)
Hypertext markup language(html)Hypertext markup language(html)
Hypertext markup language(html)
Jayson Cortez
 

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 tables part2

Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
Maria S Rivera
 

Similar to web development basics tables part2 (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

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 

web development basics tables part2

  • 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