SlideShare a Scribd company logo
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
Ad

More Related Content

What's hot (20)

CSS LAY OUT
CSS LAY OUTCSS LAY OUT
CSS LAY OUT
kylleses
 
Html - By Auroskkil
Html - By AuroskkilHtml - By Auroskkil
Html - By Auroskkil
BoneyGawande
 
Css module1
Css module1Css module1
Css module1
VARSHAKUMARI49
 
Css
CssCss
Css
Anuj Singh Rajput
 
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...
Aditya Dwivedi
 
html tags
 html tags html tags
html tags
YogeshDhamke2
 
Css introduction
Css  introductionCss  introduction
Css introduction
vishnu murthy
 
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)
Daniel Friedman
 
Css mod1
Css mod1Css mod1
Css mod1
VARSHAKUMARI49
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
Mirza Obaid
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
 
CSS Refresher
CSS RefresherCSS Refresher
CSS Refresher
Gerson Abesamis
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
JainilSampat
 
Boostrap basics
Boostrap basicsBoostrap basics
Boostrap basics
JTechTown
 
Css starting
Css startingCss starting
Css starting
Rahul Dihora
 
Css
CssCss
Css
Jahid Blackrose
 
CSS Training in Bangalore
CSS Training in BangaloreCSS Training in Bangalore
CSS Training in Bangalore
rajkamal560066
 
Div Tag Tutorial
Div Tag TutorialDiv Tag Tutorial
Div Tag Tutorial
bav123
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheet
Michael Jhon
 
Hypertext markup language(html)
Hypertext markup language(html)Hypertext markup language(html)
Hypertext markup language(html)
Jayson Cortez
 

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
Abdulla-al Baset
 
CSS3 Introduction
CSS3 IntroductionCSS3 Introduction
CSS3 Introduction
Jaeni Sahuri
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Design
mlincol2
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
vamsitricks
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
vamsi krishna
 
HTML & CSS 2017
HTML & CSS 2017HTML & CSS 2017
HTML & CSS 2017
Colin Loretz
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
 
Database System Html Basics Complete Topic.pptx
Database System Html Basics Complete Topic.pptxDatabase System Html Basics Complete Topic.pptx
Database System Html Basics Complete Topic.pptx
rockysaad553
 
cse labpractical.ppt
cse labpractical.pptcse labpractical.ppt
cse labpractical.ppt
NividitaDarwai
 
[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
BeckhamWee
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
BoneyGawande
 
Html tag list
Html tag listHtml tag list
Html tag list
A. K. M. Obydur Hussain
 
Html tags describe in bangla
Html tags describe in banglaHtml tags describe in bangla
Html tags describe in bangla
Amrita Chandra Das
 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
 
Session 2 intro to Css
Session 2 intro to CssSession 2 intro to Css
Session 2 intro to Css
Muhammad Hesham
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
HTML Tutorials
HTML TutorialsHTML Tutorials
HTML Tutorials
Arvind Kumar
 
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
kassahungebrie
 
Tags
TagsTags
Tags
Zecran Francis
 
Web Design HTML for beginners and advanced learners .pptx
Web Design HTML for beginners and advanced learners .pptxWeb Design HTML for beginners and advanced learners .pptx
Web Design HTML for beginners and advanced learners .pptx
mark575496
 
HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
Abdulla-al Baset
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Design
mlincol2
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
 
Database System Html Basics Complete Topic.pptx
Database System Html Basics Complete Topic.pptxDatabase System Html Basics Complete Topic.pptx
Database System Html Basics Complete Topic.pptx
rockysaad553
 
[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
BeckhamWee
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
BoneyGawande
 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
 
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
kassahungebrie
 
Web Design HTML for beginners and advanced learners .pptx
Web Design HTML for beginners and advanced learners .pptxWeb Design HTML for beginners and advanced learners .pptx
Web Design HTML for beginners and advanced learners .pptx
mark575496
 
Ad

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
Kalluri Vinay Reddy
 
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
Kalluri Vinay Reddy
 
Create an other activity lesson 3
Create an other activity lesson 3Create an other activity lesson 3
Create an other activity lesson 3
Kalluri Vinay Reddy
 
Building a simple user interface lesson2
Building a simple user interface lesson2Building a simple user interface lesson2
Building a simple user interface lesson2
Kalluri Vinay Reddy
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
Kalluri Vinay Reddy
 
Social media marketing
Social media marketingSocial media marketing
Social media marketing
Kalluri Vinay Reddy
 
Data Centers and Internet
Data Centers and InternetData Centers and Internet
Data Centers and Internet
Kalluri Vinay Reddy
 
Frame relay
Frame relayFrame relay
Frame relay
Kalluri Vinay Reddy
 
Web development basics 3
Web development basics 3Web development basics 3
Web development basics 3
Kalluri Vinay Reddy
 
Web development basics2
Web development basics2Web development basics2
Web development basics2
Kalluri Vinay Reddy
 
Android basic
Android basicAndroid basic
Android basic
Kalluri Vinay Reddy
 
Web development basics
Web development basicsWeb development basics
Web development basics
Kalluri Vinay Reddy
 
Inside Google
Inside Google Inside Google
Inside Google
Kalluri Vinay Reddy
 
Ad

Recently uploaded (20)

MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Cultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptxCultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptx
UmeshTimilsina1
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
Ajanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of HistoryAjanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of History
Virag Sontakke
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Cultivation Practice of Turmeric in Nepal.pptx
Cultivation Practice of Turmeric in Nepal.pptxCultivation Practice of Turmeric in Nepal.pptx
Cultivation Practice of Turmeric in Nepal.pptx
UmeshTimilsina1
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Cultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptxCultivation Practice of Garlic in Nepal.pptx
Cultivation Practice of Garlic in Nepal.pptx
UmeshTimilsina1
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)What is the Philosophy of Statistics? (and how I was drawn to it)
What is the Philosophy of Statistics? (and how I was drawn to it)
jemille6
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
UPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guideUPMVLE migration to ARAL. A step- by- step guide
UPMVLE migration to ARAL. A step- by- step guide
abmerca
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
Ajanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of HistoryAjanta Paintings: Study as a Source of History
Ajanta Paintings: Study as a Source of History
Virag Sontakke
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Cultivation Practice of Turmeric in Nepal.pptx
Cultivation Practice of Turmeric in Nepal.pptxCultivation Practice of Turmeric in Nepal.pptx
Cultivation Practice of Turmeric in Nepal.pptx
UmeshTimilsina1
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 

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
  翻译: