SlideShare a Scribd company logo
Web Development
A web page, broken down Web Browser Content/Data Client/Server Logic Styling Rules Website
A web page, broken down Web Browser IE/FF/Opera/Chrome HTML PHP/ASP/ JavaScript CSS Website
What is HTML HTML =  H yper T ext  M arkup  L anguage A markup language designed for the creation  of web pages and other information  viewable in a browser. The basic language used to write web pages. File extension: .htm, .html
<html> <head> <title> My first web page </title> </head> <body> <h1> Hello everyone </h1> </body> </html> The basic Tags
A tag is : Non-hierarchical keyword or term assigned to a piece of information  Document Tags :- The tags that are required for every HTML page we create. Tag usually goes with pair: an open tag (<b>) and an end tag (</b>) <  >  -  Opening Tag </ >  - Closing Tag HTML Tags
The element content is everything between the start and the end tag  ( <p>Hello</p> ) Some HTML elements have empty content( <br /> ) Most HTML elements can have attributes Its not case sensitive  - <p> means the same as <P> HTML Syntax
Open a text editor ( e.g. Notepad ) Create your HTML document Head - not displayed with body Body  Save the HTML (extension of .htm or .html) Display your HTML document in WWW browser window. Check your work and modify as necessary. Upload it on the Web. Steps for creating a HTML file
Working it out…
HTML <body> Tag The body element defines the document's body and contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
HTML <body> Tag (contd..) output
HTML <body> Tag (contd..) Attributes  bgcolor -  Specifies a background-color for a HTML page. <body bgcolor=&quot;#000000&quot;>  <body bgcolor=&quot;rgb(0,0,0)&quot;> <body bgcolor=&quot;black&quot;> background -  Specifies a background-image for a HTML page. <body background=&quot;clouds.gif&quot;>  <body background=&quot;http://www.abc.com/clouds.gif&quot;>
HTML <img> Tag The <img> tag embeds an image in an HTML page. The <img> tag has attributes:  src , alt, height, width. output HTML code <img src=&quot;sachin.jpg&quot; alt=&quot;sachin&quot;  height = &quot;200&quot; width= &quot;200“>
HTML <p> Tag The <p> tag defines a paragraph.
HTML <li> Tag The <li> tag defines a list item.
HTML <a> Tag - Anchor The  <a> tag defines an anchor. Attribute for <A ...> HREF = &quot;URL&quot; HREF indicates the URL being linked to.  A Hypertext link < a href=“http://www.google.com ”>Google</a> Output:  Google A Email link <a href=“mailto:sandeep@gmail.com”>Email me</a> Output:  Email me
HTML <pre> Tag The <pre> tag defines preformatted text. Text in a pre element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks .
HTML <font> Tag The <font> tag specifies the font face, font size, and font color of text.
HTML <table> Tag The <table> tag defines an HTML table. A simple HTML table consists of the table element and one or more tr, th, and td elements. Attribute Values Specifies the alignment of a table align Specifies the space between cells cellspacing Specifies the space between the cell wall and the cell content cellpadding Specifies the width of a table width Specifies the width of the borders around a table border Description Value
HTML <table> example
HTML <form> Tag A form is an area that can contain form elements . Commonly used form elements includes: Text fields Radio buttons Checkboxes List Boxes Submit buttons
HTML <input> Tag Attribute Values Defines a one-line input field that a user can enter text into. Default width is 20 characters text Defines a submit button. A submit button sends form data to a server submit Defines a reset button. A reset button resets all form fields to their initial values reset Defines a radio button radio Defines a password field. The characters in this field are masked password Defines a checkbox checkbox Defines a clickable button  button Description Value
HTML <input> Tag Text Input Fields . Used when you want the user to type letters, number, etc.
HTML <input> Tag contd… Submit and Reset button .
HTML <input> Tag contd… Checkboxes and Radio Button .
HTML <select> Tag The <select> tag is used to create a select list (drop-down list)
HTML <marquee> Tag Hi there! Are you guys having fun learning HTML .
HTML Header Tags <h1> defines the largest heading and <h6> defines the smallest heading.
 
What is CSS CSS =  C ascading  S tyle  S heets CSS is a way to style HTML. Whereas the HTML is  the content, the style sheet is the presentation of  that document.
Selector   Property  Value   p  {  color:  red ; } The property is followed by a colon (:) and the value is followed by a semicolon(;) A Style
Applying CSS There are three ways to apply CSS to HTML. Inline Affects only the element applied to. Internal or Embedded Affects only the elements in a single file. External Linked to an unlimited number of files.
Applying CSS (Inline) <p style=&quot;color: red&quot;>Hello Pailan !!</p>
Applying CSS (Internal) <style type=&quot;text/css&quot;> body { font-family: Tahoma, Arial, sans-serif; ... } </style>
Applying CSS (External) <link rel= &quot; stylesheet &quot;  type= &quot; text/css &quot;  href= &quot; web.css &quot;  />
Inline Style Sheets Inline styles are applied straight into the HTML tags using the style attribute.
Internal Style Sheets Internal styles are used for the whole page. Inside the head tags, the style tags surround all of the styles for the page.
External Style Sheets Internal styles are used for the whole page. Inside the head tags, the style tags surround all of the styles for the page.
CSS class example
 
What is JavaScript ? A scripting language that works with HTML to enhance web pages and make them more interactive.  Runs in a Web browser (client-side). Embedded in HTML files and can manipulate the HTML itself.
Why use JavaScript ? To add dynamic function to your HTML. JavaScript does things that HTML can’t—like logic. You can change HTML on the fly. JavaScript can validate the data the user enters into the form, before it is sent to your Web Application.
Add JavaScript to HTML In the HTML page itself: <html> <head> <script language=“javascript”> // JavaScript code </script> </head> As a file, linked from the HTML Page <head> <script language=“javascript” src=“ script.js ”> </script> </head>
JavaScript examples
JavaScript examples Image Zoom Image Menu Shutter Menu Tabs Contact Form Validation
Questions ?
Thank You ! SANDEEP BAJORIA Email :   [email_address] O:  (033) 6522 9071   M :   98309 36993 http://www.brainwarebaguiati.blogspot.com
Ad

More Related Content

What's hot (20)

Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
Static and Dynamic webpage
Static and Dynamic webpageStatic and Dynamic webpage
Static and Dynamic webpage
Aishwarya Pallai
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web Development
Randy Connolly
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
Leslie Steele
 
Javascript
JavascriptJavascript
Javascript
Manav Prasad
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
Salman Memon
 
Bootstrap
BootstrapBootstrap
Bootstrap
Jadson Santos
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
Web Development
Web DevelopmentWeb Development
Web Development
Aditya Raman
 
Web Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScriptWeb Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScript
Edureka!
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
CSS for Beginners
CSS for BeginnersCSS for Beginners
CSS for Beginners
Amit Kumar Singh
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
shabab shihan
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
WordPress Memphis
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
Alfredo Torre
 
Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
Front end web development
Front end web developmentFront end web development
Front end web development
viveksewa
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
Static and Dynamic webpage
Static and Dynamic webpageStatic and Dynamic webpage
Static and Dynamic webpage
Aishwarya Pallai
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web Development
Randy Connolly
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
Leslie Steele
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
Salman Memon
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
Web Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScriptWeb Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScript
Edureka!
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
shabab shihan
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
Alfredo Torre
 
Front end web development
Front end web developmentFront end web development
Front end web development
viveksewa
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
 

Similar to Web Development using HTML & CSS (20)

Html
HtmlHtml
Html
Cerise Anderson
 
Html starting
Html startingHtml starting
Html starting
Rahul Dihora
 
Html
HtmlHtml
Html
Kavi Bharathi R
 
Html
HtmlHtml
Html
Kavi Bharathi R
 
Intro to html
Intro to htmlIntro to html
Intro to html
anshuman rahi
 
Intro to html
Intro to htmlIntro to html
Intro to html
anshuman rahi
 
Html
HtmlHtml
Html
Rathan Raj
 
HTML
HTMLHTML
HTML
Gouthaman V
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
julicris021488
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
vikram singh
 
WEB TECHNOLOGY SLIDE 2 coe35mgfdggdh.pptx
WEB TECHNOLOGY SLIDE 2 coe35mgfdggdh.pptxWEB TECHNOLOGY SLIDE 2 coe35mgfdggdh.pptx
WEB TECHNOLOGY SLIDE 2 coe35mgfdggdh.pptx
simukondasankananji8
 
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1
than sare
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
VaibhavSingh887876
 
Before start
Before startBefore start
Before start
Medhat Dawoud
 
Html presentation
Html presentationHtml presentation
Html presentation
Amber Bhaumik
 
Html
HtmlHtml
Html
Ankush Srivastava
 
Lect_html1
Lect_html1Lect_html1
Lect_html1
ibrahim osama
 
Markup language classification, designing static and dynamic
Markup language classification, designing static and dynamicMarkup language classification, designing static and dynamic
Markup language classification, designing static and dynamic
Ankita Bhalla
 
Tm 1st quarter - 1st meeting
Tm   1st quarter - 1st meetingTm   1st quarter - 1st meeting
Tm 1st quarter - 1st meeting
Esmeraldo Jr Guimbarda
 
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudbweb page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
natiwoss2009
 
Ad

Recently uploaded (20)

Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Ad

Web Development using HTML & CSS

  • 2. A web page, broken down Web Browser Content/Data Client/Server Logic Styling Rules Website
  • 3. A web page, broken down Web Browser IE/FF/Opera/Chrome HTML PHP/ASP/ JavaScript CSS Website
  • 4. What is HTML HTML = H yper T ext M arkup L anguage A markup language designed for the creation of web pages and other information viewable in a browser. The basic language used to write web pages. File extension: .htm, .html
  • 5. <html> <head> <title> My first web page </title> </head> <body> <h1> Hello everyone </h1> </body> </html> The basic Tags
  • 6. A tag is : Non-hierarchical keyword or term assigned to a piece of information Document Tags :- The tags that are required for every HTML page we create. Tag usually goes with pair: an open tag (<b>) and an end tag (</b>) < > - Opening Tag </ > - Closing Tag HTML Tags
  • 7. The element content is everything between the start and the end tag ( <p>Hello</p> ) Some HTML elements have empty content( <br /> ) Most HTML elements can have attributes Its not case sensitive - <p> means the same as <P> HTML Syntax
  • 8. Open a text editor ( e.g. Notepad ) Create your HTML document Head - not displayed with body Body Save the HTML (extension of .htm or .html) Display your HTML document in WWW browser window. Check your work and modify as necessary. Upload it on the Web. Steps for creating a HTML file
  • 10. HTML <body> Tag The body element defines the document's body and contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
  • 11. HTML <body> Tag (contd..) output
  • 12. HTML <body> Tag (contd..) Attributes bgcolor - Specifies a background-color for a HTML page. <body bgcolor=&quot;#000000&quot;> <body bgcolor=&quot;rgb(0,0,0)&quot;> <body bgcolor=&quot;black&quot;> background - Specifies a background-image for a HTML page. <body background=&quot;clouds.gif&quot;> <body background=&quot;http://www.abc.com/clouds.gif&quot;>
  • 13. HTML <img> Tag The <img> tag embeds an image in an HTML page. The <img> tag has attributes: src , alt, height, width. output HTML code <img src=&quot;sachin.jpg&quot; alt=&quot;sachin&quot; height = &quot;200&quot; width= &quot;200“>
  • 14. HTML <p> Tag The <p> tag defines a paragraph.
  • 15. HTML <li> Tag The <li> tag defines a list item.
  • 16. HTML <a> Tag - Anchor The <a> tag defines an anchor. Attribute for <A ...> HREF = &quot;URL&quot; HREF indicates the URL being linked to. A Hypertext link < a href=“http://www.google.com ”>Google</a> Output: Google A Email link <a href=“mailto:sandeep@gmail.com”>Email me</a> Output: Email me
  • 17. HTML <pre> Tag The <pre> tag defines preformatted text. Text in a pre element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks .
  • 18. HTML <font> Tag The <font> tag specifies the font face, font size, and font color of text.
  • 19. HTML <table> Tag The <table> tag defines an HTML table. A simple HTML table consists of the table element and one or more tr, th, and td elements. Attribute Values Specifies the alignment of a table align Specifies the space between cells cellspacing Specifies the space between the cell wall and the cell content cellpadding Specifies the width of a table width Specifies the width of the borders around a table border Description Value
  • 21. HTML <form> Tag A form is an area that can contain form elements . Commonly used form elements includes: Text fields Radio buttons Checkboxes List Boxes Submit buttons
  • 22. HTML <input> Tag Attribute Values Defines a one-line input field that a user can enter text into. Default width is 20 characters text Defines a submit button. A submit button sends form data to a server submit Defines a reset button. A reset button resets all form fields to their initial values reset Defines a radio button radio Defines a password field. The characters in this field are masked password Defines a checkbox checkbox Defines a clickable button button Description Value
  • 23. HTML <input> Tag Text Input Fields . Used when you want the user to type letters, number, etc.
  • 24. HTML <input> Tag contd… Submit and Reset button .
  • 25. HTML <input> Tag contd… Checkboxes and Radio Button .
  • 26. HTML <select> Tag The <select> tag is used to create a select list (drop-down list)
  • 27. HTML <marquee> Tag Hi there! Are you guys having fun learning HTML .
  • 28. HTML Header Tags <h1> defines the largest heading and <h6> defines the smallest heading.
  • 29.  
  • 30. What is CSS CSS = C ascading S tyle S heets CSS is a way to style HTML. Whereas the HTML is the content, the style sheet is the presentation of that document.
  • 31. Selector  Property Value   p { color: red ; } The property is followed by a colon (:) and the value is followed by a semicolon(;) A Style
  • 32. Applying CSS There are three ways to apply CSS to HTML. Inline Affects only the element applied to. Internal or Embedded Affects only the elements in a single file. External Linked to an unlimited number of files.
  • 33. Applying CSS (Inline) <p style=&quot;color: red&quot;>Hello Pailan !!</p>
  • 34. Applying CSS (Internal) <style type=&quot;text/css&quot;> body { font-family: Tahoma, Arial, sans-serif; ... } </style>
  • 35. Applying CSS (External) <link rel= &quot; stylesheet &quot; type= &quot; text/css &quot; href= &quot; web.css &quot; />
  • 36. Inline Style Sheets Inline styles are applied straight into the HTML tags using the style attribute.
  • 37. Internal Style Sheets Internal styles are used for the whole page. Inside the head tags, the style tags surround all of the styles for the page.
  • 38. External Style Sheets Internal styles are used for the whole page. Inside the head tags, the style tags surround all of the styles for the page.
  • 40.  
  • 41. What is JavaScript ? A scripting language that works with HTML to enhance web pages and make them more interactive. Runs in a Web browser (client-side). Embedded in HTML files and can manipulate the HTML itself.
  • 42. Why use JavaScript ? To add dynamic function to your HTML. JavaScript does things that HTML can’t—like logic. You can change HTML on the fly. JavaScript can validate the data the user enters into the form, before it is sent to your Web Application.
  • 43. Add JavaScript to HTML In the HTML page itself: <html> <head> <script language=“javascript”> // JavaScript code </script> </head> As a file, linked from the HTML Page <head> <script language=“javascript” src=“ script.js ”> </script> </head>
  • 45. JavaScript examples Image Zoom Image Menu Shutter Menu Tabs Contact Form Validation
  • 47. Thank You ! SANDEEP BAJORIA Email : [email_address] O: (033) 6522 9071 M : 98309 36993 http://www.brainwarebaguiati.blogspot.com