Html

51

Transcript of Html

Page 1: Html

HTML [email protected]

Page 2: Html

HTML 5, YESITH VALENCIA MSC. 2

QUÉ ES?•El HTML (Hyper Text Markup Language) es el lenguaje con

el que se escriben las páginas web. Es un lenguaje de hipertexto, es decir, un lenguaje que permite escribir texto de forma estructurada, y que está compuesto por etiquetas, que marcan el inicio y el fin de cada elemento del documento.

Page 3: Html

HTML 5, YESITH VALENCIA MSC. 3

QUÉ ES?•Un documento hipertexto no sólo se compone de texto,

puede contener imágenes, sonido, vídeos, etc., por lo que el resultado puede considerarse como un documento multimedia.•Los documentos HTML deben tener la

extensión .html o .htm, para que puedan ser visualizados/interpretados en los navegadores (programas que permiten visualizar las páginas web).•Los navegadores se encargan de interpretar el código

HTML de los documentos, y de mostrar a los usuarios las páginas web resultantes del código interpretado.

Page 4: Html

HTML 5, YESITH VALENCIA MSC. 4

LOS NAVEGADORES COMPATIBILIDAD

Page 5: Html

HTML 5, YESITH VALENCIA MSC. 5

THE BASIC CLIENT/SERVER REQUEST/RESPONSE SEQUENCE

These are the steps in the request and response sequence: 1.You enter http://server.com into your browser’s address bar.2. Your browser looks up the IP address for server.com.3. Your browser issues a request for the home page at server.com.4. The request crosses the Internet and arrives at the server.com web server.5. The web server, having received there quest, looks for the web page on its hard disk. 6. The server retrieves the web page and returns it to the browser.7. Your browser displays the web page.

Page 6: Html

HTML 5, YESITH VALENCIA MSC. 6

1. You enter http://server.com into your browser’s address bar. 2. Your browser looks up the IP address for server.com. 3. Your browser issues a request to that address for the web server’s home page. 4. The request crosses the Internet and arrives at the server.com web server. 5. The web server, having received the request, fetches the home page from its hard disk. 6. With the home page now in memory, the web server notices that it is a file incor- porating PHP scripting and passes the page to the PHP interpreter. 7. The PHP interpreter executes the PHP code. 8. Some of the PHP contains MySQL statements, which the PHP interpreter now passes to the MySQL database engine. 9. The MySQL database returns the results of the statements back to the PHP inter- preter. 10. The PHP interpreter returns the results of the executed PHP code, along with the results from the MySQL database, to the web server. 11. The web server returns the page to the requesting client, which displays it.

Page 7: Html

HTML 5, YESITH VALENCIA MSC. 7

VERSIONES DE HTML

Page 8: Html

HTML 5, YESITH VALENCIA MSC. 8

ESTRUCTURA DE LA PÁGINA WEB

Page 9: Html

HTML 5, YESITH VALENCIA MSC. 9

EDITORES DE TEXTO

Brackets io

Sublime Text

Atom io

DreamWeaver

Page 10: Html

HTML 5, YESITH VALENCIA MSC. 10

MI PRIMERA PÁGINA WEB

Page 11: Html

HTML 5, YESITH VALENCIA MSC. 11

EL PROBLEMA DEL POEMA (<PRE>)

Page 12: Html

HTML 5, YESITH VALENCIA MSC. 12

ESTILOS

•<tagname style="property:value;">•<body style="background-color:powderblue;">•Se aplican al: h y p• color:blue; • font-family:verdana;• font-size:36px; • font-size:300%; • text-align:center;

Page 13: Html

HTML 5, YESITH VALENCIA MSC. 13

Page 14: Html

HTML 5, YESITH VALENCIA MSC. 14

LINKS

Page 15: Html

HTML 5, YESITH VALENCIA MSC. 15

TABLAS

Page 16: Html

HTML 5, YESITH VALENCIA MSC. 16

Page 17: Html

HTML 5, YESITH VALENCIA MSC. 17

Page 18: Html

HTML 5, YESITH VALENCIA MSC. 18

ETIQUETAS SIN FINALIZAR

Page 19: Html

HTML 5, YESITH VALENCIA MSC. 19

LISTAS

Page 20: Html

HTML 5, YESITH VALENCIA MSC. 20

LISTAS

Page 21: Html

HTML 5, YESITH VALENCIA MSC. 21

LISTAS

Page 22: Html

HTML 5, YESITH VALENCIA MSC. 22

FORMULARIOS•Se puede tener más de un formulario en el documento

Page 23: Html

HTML 5, YESITH VALENCIA MSC. 23

METHOD• With the POST method, the browser sends the data in two steps: the browser first contacts

the forms-processing server specified in the action attribute and then, once contact is made, sends the data to the server in a separate transmission. • On the server side, POST-style applications are expected to read the parameters from a

standard location once they begin execution. Once read, the parameters must be decoded before the application can use the form values. Your particular server defines exactly how your POST-style applications can expect to receive their parameters. • The GET method, on the other hand, contacts the forms-processing server and sends the

form data in a single transmission step: the browser appends the data to the form’s action URL, separated by the question mark character. • The common browsers transmit the form information by either method; some servers receive

the form data by only one or the other method. You indicate which of the two methods—POST or GET—your forms-processing server handles with the method attribute in the <form> tag

Page 24: Html

HTML 5, YESITH VALENCIA MSC. 24

EJEMPLO

Page 25: Html

HTML 5, YESITH VALENCIA MSC. 25FO

RMUL

ARIO

DE

EJEM

PLO

Page 26: Html

HTML 5, YESITH VALENCIA MSC. 26

Page 27: Html

HTML 5, YESITH VALENCIA MSC. 27

IFRAME

Page 28: Html

HTML 5, YESITH VALENCIA MSC. 28

<META> : HEAD•Es un elemento usado para especificar:• Tipo de caracteres •Descripción de la página• Palabras clave•Autor• Y otros metadatos…

•<meta> es usada por los navegadores para saber cómo mostrar la información, y por los buscadores (palabras clave)

Page 29: Html

HTML 5, YESITH VALENCIA MSC. 29

<META> : HEAD

Page 30: Html

HTML 5, YESITH VALENCIA MSC. 30

RESPONSIVE

Page 31: Html

HTML 5, YESITH VALENCIA MSC. 31

RESPONSIVE

Page 32: Html

HTML 5, YESITH VALENCIA MSC. 32

RESPONSIVE

Page 33: Html

HTML 5, YESITH VALENCIA MSC. 33

ENTI

DADE

S

Page 34: Html

HTML 5, YESITH VALENCIA MSC. 34

ENTI

DADE

S

Page 35: Html

HTML 5, YESITH VALENCIA MSC. 35

FRAMES

Page 36: Html

HTML 5, YESITH VALENCIA MSC. 36

FRAMES

Page 37: Html

HTML 5, YESITH VALENCIA MSC. 37

EJEMPLO DE UN APLICATIVO

Page 38: Html

HTML 5, YESITH VALENCIA MSC. 38

EJEMPLO DE UN APLICATIVO

Page 39: Html

HTML 5, YESITH VALENCIA MSC. 39

EJEMPLO DE UN APLICATIVO

Page 40: Html

HTML 5, YESITH VALENCIA MSC. 40

CANVAS•Es un elemento usado para dibujar gráficas•JavaScript es que el en realidad hace los dibujos

Page 41: Html

HTML 5, YESITH VALENCIA MSC. 41

CANVAS•Es un elemento usado para dibujar gráficas•JavaScript es que el en realidad hace los dibujos

Page 42: Html

HTML 5, YESITH VALENCIA MSC. 42

CANVAS: LINEA

Page 43: Html

HTML 5, YESITH VALENCIA MSC. 43

CANVAS: CIRCULO

Page 44: Html

HTML 5, YESITH VALENCIA MSC. 44

CANVAS: TEXTO

Page 45: Html

HTML 5, YESITH VALENCIA MSC. 45

SVG•Scalable Vector Graphics

Page 46: Html

HTML 5, YESITH VALENCIA MSC. 46

SVG: VARIOS

Page 47: Html

HTML 5, YESITH VALENCIA MSC. 47

SVG: LOGO

Page 48: Html

HTML 5, YESITH VALENCIA MSC. 48

CANVAS VS SVG

Page 49: Html

HTML 5, YESITH VALENCIA MSC. 49

MEDIA: VIDEOS

Page 50: Html

HTML 5, YESITH VALENCIA MSC. 50

MEDIA: AUDIO

Page 51: Html

HTML 5, YESITH VALENCIA MSC. 51

TALLER: PÁGINA WEB•Desarrollar una página web en la que se muestre la

información acerca de sus intereses: educación, deporte, su hoja de vida, etc; utilizando por lo menos todas las etiquetas vistas en clase