Passa al contingut principal

HTML Examples, ejemplos de código HTML

HTML Examples, ejemplos de código HTML:
266px-HTML_svg

(Imagen Wikipedia)
A estas alturas ya todos conocéis en más o menos profundidad el lenguaje de marcado HTML (base de todas las páginas web de Internet), pero nunca viene mal tener a mano una web donde nos muestren ejemplos de código fuente más frecuentes (como enlaces, imágenes, formateo de texto, etc) y el resultado de su ejecución.
En la web de w3schools.com, puedes encontrar este genial enlace llamado HTML Examples, en el cual puedes ver una gran variedad de ejemplos que pasamos a listar:
Haz click abajo para ver el listado completo de ejemplos que nos ofrecen:

HTML Basic
A very simple HTML document

HTML headings

HTML paragraphs

HTML links

HTML images
Examples explained

HTML Headings
HTML headings

Insert comments in the HTML source code

Insert horizontal lines
Examples explained

HTML Paragraphs
HTML paragraphs

More paragraphs

The use of line breaks

Poem problems (some problems with HTML formatting)
Examples explained

HTML Text Formatting
Text formatting

Preformatted text (how to control line breaks and spaces)

Different computer-output tags

Insert contact information

Abbreviations and acronyms

Text direction

Long and short quotations

How to mark deleted and inserted text
Examples explained

HTML Styles
Style HTML elements

Style background color

Style font, color, and size

Style alignment of text
Examples explained

HTML Links
How to create hyperlinks

Use an image as a link

Open link in a new browser window

Jump to another part of a document (on the same page)

Break out of a frame

How to link to a mail message (will only work if you have mail installed)

Another mailto link
Examples explained

HTML Images
Insert images

Insert images from another folder or another server

Aligning images

Let the image float to the left/right of a paragraph

Make a hyperlink of an image

Create an image-map, with clickable regions
Examples explained

HTML Tables
Simple tables

Different table borders

Tables without borders

Table headers

Table with a caption

Table cells that span more than one row/column

Tags inside a table

Cell padding (control the white space between cell content and the borders

Cell spacing (control the distance between cells)

The frame attribute
Examples explained

HTML Lists
An unordered list

An ordered list

Different types of ordered lists

Different types of unordered Lists

Nested list

Nested list 2

Definition list
Examples explained

HTML Forms and Input
Create text fields

Create password field

Checkboxes

Radio buttons

Simple drop-down list

Drop-down list with a pre-selected value

Textarea (a multi-line text input field)

Create a button

Draw a border around form-data

Form with text fields and a submit button

Form with checkboxes and a submit button

Form with radiobuttons and a submit button

Send e-mail from a form
Examples explained

HTML Frames
A vertical frameset

A horizontal frameset

How to use the <noframes> tag

How to mix a frameset in rows and columns

Frameset with noresize=”noresize”

How to create a navigation frame

Inline frame (a frame inside an HTML page)

Jump to a specified section within a frame

Jump to a specified section with frame navigation
Examples explained

HTML and Styles
Using styles in HTML

Link that is not underlined

Link to an external style sheet
Examples explained

HTML head Elements
Specify a title for a document

One target for all links on a page
Examples explained

HTML <meta> Tags
Document description

Document keywords

Redirect a user
Examples explained

HTML Scripts
Insert a script

Use of the <noscript> tag
Examples explained


Entradas relacionadas:

Comparte el post:MeneameBitacoras.comBarraPuntoRSSemailPDFFacebookTwitterDiggGoogle BookmarksWikioRedditTechnorati

Post to Twitter

Comentaris

Entrades populars d'aquest blog

Learn Composition from the Photography of Henri Cartier-Bresson

“Do you see it?” This question is a photographic mantra. Myron Barnstone , my mentor, repeats this question every day with the hopes that we do “see it.” This obvious question reminds me that even though I have seen Cartier-Bresson’s prints and read his books, there are major parts of his work which remain hidden from public view. Beneath the surface of perfectly timed snap shots is a design sensibility that is rarely challenged by contemporary photographers. Henri Cartier-Bresson. © Martine Franck Words To Know 1:1.5 Ratio: The 35mm negative measures 36mm x 24mm. Mathematically it can be reduced to a 3:2 ratio. Reduced even further it will be referred to as the 1:1.5 Ratio or the 1.5 Rectangle. Eyes: The frame of an image is created by two vertical lines and two horizontal lines. The intersection of these lines is called an eye. The four corners of a negative can be called the “eyes.” This is extremely important because the diagonals connecting these lines will form the breakdown ...

El meu editor de codi preferit el 2024, que això ja se sap que va canviant 😄

Visual Code Visual Code és un editor de codi font lleuger, però potent que s’executa al teu escriptori i està disponible per a Windows, macOS i Linux. Compta amb suport integrat per a JavaScript, TypeScript i Node.js i té un ric ecosistema d’extensions per a altres llenguatges i entorns d’execució (com C++, C#, Java, Python, PHP, Go, .NET).  És una eina ideal per a desenvolupar i depurar aplicacions web i en el núvol. Per què Visual Code? Visual Code té molts avantatges com a editor de codi font, com per exemple: És gratuït, ràpid i fàcil d’instal·lar i actualitzar. Té un ampli ecosistema d’extensions que et permeten afegir funcionalitats i personalitzar la teva experiència de desenvolupament. Té un suport integrat per a molts llenguatges i entorns d’execució, i et permet depurar i executar el teu codi des del mateix editor. Té una interfície senzilla i elegant, amb diferents temes i modes de visualització. Té un sistema de sincronització de configuracions que et permet guardar les...

Las Mejores Aplicaciones Gratis para iPad de 2012

Las Mejores Aplicaciones Gratis para iPad de 2012 : ¿No tienes ni un duro? No te preocupes, pues hoy os traemos una extensa selección de las mejores apps gratuitas que puedes conseguir en la App Store para que llenes tu iPad de calidad, sin gastar nada de nada.   ¿Estás buscando juegos o apps gratis para tu iPad? En la App Store hay más de 500,000 apps y juegos, y una gran cantidad de ellos está disponible de forma totalmente gratuita. Aquí vamos con la selección de las mejores Apps gratis para iPad (todos los modelos), organizada por categoría. ¿Estás preparado? Las Mejores Apps Gratis de Redes Sociales para iPad Nombre Facebook Gratis Categoría Redes sociales Facebook es la red social más famosa del mundo , con casi mil millones de usuarios. Su app para iPad ha tardado, pero aquí está. Nombre Twitter Gratis Categoría Redes sociales Twitter es la red de microblogging por excelencia. La forma más rápida y directa de informar y mantenerse informado de las cosa...