Download presentation
Presentation is loading. Please wait.
Published byMatilda Johns Modified over 6 years ago
2
How the Web Works? WWW use classical client / server architecture
HTTP is text-based request-response protocol HTTP Page request HTTP Server response Client running a Web Browser Server running Web Server Software (IIS, Apache, etc.) 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
3
HTML Basics Text, Images, Tables, Forms
06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
4
Some HTML Tags 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
5
First HTML Page test.html <!DOCTYPE HTML> <html>
<head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
6
First HTML Page: Tags Opening tag Closing tag
<!DOCTYPE HTML> <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> Opening tag Closing tag An HTML element consists of an opening tag, a closing tag and the content inside. 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
7
First HTML Page: Header
<!DOCTYPE HTML> <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> HTML header 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
8
First HTML Page: Body <!DOCTYPE HTML> <html> <head>
<title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> HTML body 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
9
Some Simple Tags Hyperlink Tags <a href="http://www.telerik.com/"
Image Tags Text formatting tags <a href=" title="Telerik">Link to Telerik Web site</a> <img src="logo.gif" alt="logo" /> This text is <em>emphasized.</em> <br />new line<br /> This one is <strong>more emphasized.</strong> 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
10
Some Simple Tags – Example
some-tags.html <!DOCTYPE HTML> <html> <head> <title>Simple Tags Demo</title> </head> <body> <a href=" title= "Telerik site">This is a link.</a> <br /> <img src="logo.gif" alt="logo" /> <strong>Bold</strong> and <em>italic</em> text. </body> </html> 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
11
Some Simple Tags – Example (2)
some-tags.html <!DOCTYPE HTML> <html> <head> <title>Simple Tags Demo</title> </head> <body> <a href=" title= "Telerik site">This is a link.</a> <br /> <img src="logo.gif" alt="logo" /> <strong>Bold</strong> and <em>italic</em> text. </body> </html> 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
12
Headings and Paragraphs
06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
13
<head> Section: <title> tag
Title should be placed between <head> and </head> tags Used to specify a title in the window title bar Search engines and people rely on titles <title>Telerik Academy – Winter Season 2009/2010 </title> 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
14
<head> Section: <script>
The <script> element is used to embed scripts into an HTML document Script are executed in the client's Web browser Scripts can live in the <head> and in the <body> sections Supported client-side scripting languages: javascript (it is not java!) vbscript jscript 06/7/2017 UNIT 1/HTML BASIC TAG/PHP/MYSQL/B.INDRANI
15
Thank you
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.