If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: es.w3docs.com/learn-css/height - Propiedad height de CSS | W3do.

site address: es.w3docs.com/learn-css/height redirected to: es.w3docs.com/learn-css/height

site title: Propiedad height de CSS W3docs

Our opinion (on Sunday 27 September 2026 9:15:28 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=La propiedad height de CSS establece la altura del elemento. Prueba ejemplos con cada valor de esta propiedad.;

Headings (most frequently used words):

de, propiedad, height, la, ejemplo, con, valores, css, sintaxis, palabras, clave, dimensionamiento, intrínseco, práctica, resultado, etiqueta, html, image, el, valor, length, todos, los,

Text of the page (most frequently used words):
#height (65), border (40), css (35), color (28), style (23), propiedad (22), html (21), text (21), font (20), grid (19), que (18), auto (18), con (17), the (16), width (16), los (15), aprender (15), altura (15), div (15), background (15), valor (14), column (13), top (12), title (12), content (11), image (11), elemento (10), box (10), body (10), container (10), padding (10), break (10), para (9), valores (9), margin (9), right (9), left (9), bottom (9), animation (9), como (8), una (8), pruébalo (8), class (8), head (8), ejemplo (8), overflow (8), position (8), stroke (8), w3docs (7), decoration (7), offset (7), flex (7), page (6), padre (6), copiar (6), max (6), del (6), por (6), align (6), type (6), variant (6), práctica (5), sintaxis (5), this (5), puede (5), establecerse (5), establece (5), predeterminado (5), length (5), contenido (5), min (5), property (5), solid (5), transition (5), line (5), last (5), outline (5), radius (5), child (5), formatter (5), generator (4), initial (4), son (4), porcentaje (4), más (4), mismo (4), example (4), 1c87c9 (4), document (4), doctype (4), mode (4), transform (4), fill (4), size (4), list (4), template (4), row (4), gap (4), rule (4), nth (4), first (4), todos (3), json (3), code (3), encoder (3), editor (3), cuestionarios (3), ejercicios (3), php (3), javascript (3), palabras (3), clave (3), significa (3), inherit (3), navegador (3), porcentajes (3), lugar (3), fit (3), las (3), 100px (3), 8ebf42 (3), 100 (3), media (3), default (3), set (3), longitud (3), object (3), tiene (3), alto (3), word (3), wrap (3), spacing (3), range (3), origin (3), justify (3), items (3), before (3), after (3), letter (3), columns (3), direction (3), clip (3), only (3), ver (3), string (3), tools (3), italiano (2), português (2), español (2), français (2), русский (2), deutsch (2), english (2), beautifier (2), diff (2), password (2), herramientas (2), python (2), java (2), git (2), libros (2), ejemplos (2), fragmentos (2), dimensionamiento (2), intrínseco (2), hyphens (2), hanging (2), punctuation (2), calcula (2), cuáles (2), posibles (2), define (2), rem (2), este (2), caja (2), esta (2), flexbox (2), donde (2), for (2), allá (2), green (2), orange (2), blue (2), red (2), f9fc35 (2), f45e30 (2), here (2), 50vh (2), https (2), api (2), com (2), uploads (2), 0001 (2), 003e5c463668d174ab70bea245c192d81901a4a6 (2), png (2), src (2), big (2), img (2), normal (2), eee (2), animable (2), elementos (2), aplica (2), solo (2), explícita (2), asigna (2), viewport (2), cuando (2), propiedades (2), defecto (2), sizing (2), texto (2), tamaño (2), visibility (2), unicode (2), timing (2), function (2), duration (2), delay (2), shadow (2), rendering (2), skip (2), perspective (2), inside (2), anchor (2), path (2), blend (2), rows (2), start (2), end (2), flow (2), feature (2), display (2), empty (2), counter (2), count (2), repeat (2), read (2), hash (2), 2026, derechos, reservados, hecho, desarrolladores, idioma, política, privacidad, contacto, acerca, empresa, try, tutoriales, gratuitos, web, desde, 2014, next, previous, yes, was, helpful, comprobar, rojo, azul, verde, toma, calculada, específica, píxeles, hereda, hace, use, etc, original, imagen, descripción, útiles, diseños, desea, pista, ajuste, estirarse, ampliamente, compatibles, navegadores, actuales, like, but, clamps, when, given, smallest, can, take, tall, enough, never, wrapping, shorter, longitudes, fijas, moderno, añade, dimensionan, según, número, 30vh, specified, usando, defined, ccc, etiqueta, resultado, paragraph, 30px, element, 60px, 400px, dom, css1, versión, heredable, inicial, resuelve, respecto, ese, hijo, referencia, fija, trata, parece, tener, efecto, alturas, propaguen, hasta, página, ancestros, comúnmente, usa, unidad, siempre, mitad, independientemente, problema, advertencia, aceptan, negativos, información, numérico, esa, controla, ocurre, entonces, recortarlo, ocultarlo, añadir, barra, desplazamiento, desborda, también, establecen, estas, restringen, nunca, reduce, debajo, crece, puedes, expresar, únicamente, incluye, tanto, 140px, pantalla, incluya, borde, recomendada, casi, universal, complementaria, funciona, misma, manera, eje, horizontal, 20px, márgenes, bordes, área, viven, hijos, ajusta, bloque, sea, suficientemente, contener, necesita, fijo, relativo, prueba, cada, zoom, index, writing, will, change, widows, white, space, vertical, user, select, bidi, underline, orientation, indent, ink, combine, upright, table, layout, tab, linecap, dashoffset, dasharray, speak, shape, outside, scrollbar, scroll, behavior, resize, quotes, pointer, events, place, orphans, order, opacity, rotate, distance, mix, lines, clamp, keyframes, isolation, import, areas, area, weight, numeric, ligatures, east, asian, caps, alternates, stretch, language, override, adjust, kerning, values, settings, family, face, float, shrink, grow, basis, filter, cells, cursor, reset, increment, span, clear, charset, caret, caption, side, source, slice, outset, collapse, block, bleed, attachment, backface, appearance, play, state, name, iteration, self, all, properties, visited, valid, target, selection, scope, root, required, write, placeholder, out, optional, not, link, lang, invalid, indeterminate, hover, fullscreen, focus, enabled, disabled, dir, checked, active, selectores, selectors, css3, guía, guides, gradientes, nombres, colores, tablas, links, uso, introducción, basic, iniciar, sesión, buscar, formatters, url, reverse, sha256, md5, calculator, colors, hsl, hex, mixer, converter, picker, general, cursos,


Text of the page (random words):
propiedad height de css w3docs w3docs libros aprender html aprender css aprender javascript aprender git aprender java aprender php aprender python cursos cuestionarios ejercicios fragmentos herramientas general tools html editor password generator html encoder code diff json beautifier ver los 13 color tools color picker color converter color mixer color hex colors hsl ver los 10 string tools string length calculator md5 hash generator sha256 hash generator string reverse url encoder ver los 19 code formatters javascript formatter css formatter html formatter json formatter php formatter buscar en w3docs k es english en deutsch de русский ru français fr español es português pt italiano it iniciar sesión aprender css css basic introducción a css uso de css sintaxis css css id y class texto en css css font css links tablas css css border css padding css margin nombres de colores css gradientes css css guides guía de flexbox propiedades de css3 css selectors selectores css active after before checked default dir disabled empty enabled first child first letter first line first of type focus fullscreen hover in range indeterminate invalid lang last child last of type link not nth child nth last child nth last of type nth of type only child only of type optional out of range placeholder read only read write required root scope selection target valid visited css properties align content align items all animation align self animation delay animation direction animation duration animation fill mode animation iteration count animation name animation play state animation timing function appearance backface visibility background background attachment background blend mode background clip background color background image background origin background position background position x background position y background repeat background size bleed block overflow border border bottom border bottom color border bottom left radius border bottom right radius border bottom style border bottom width border collapse border color border image border image outset border image repeat border image slice border image source border image width border left border left color border left style border left width border radius border right border right color border right style border right width border spacing border style border top border top color border top left radius border top right radius border top style border top width border width bottom box decoration break box shadow box sizing break after break before break inside caption side caret color charset clear clip clip path color columns column count column fill column gap column rule column rule color column rule style column rule width column span column width content counter increment counter reset cursor direction display empty cells fill filter flex flex basis flex direction flex flow flex grow flex shrink flex wrap float font font face font display font family font feature settings font feature values font kerning font size font size adjust font language override font stretch font style font variant font variant alternates font variant caps font variant east asian font variant ligatures font variant numeric font weight grid grid area grid auto columns grid auto flow grid auto rows grid column grid column end grid column gap grid column start grid gap grid row grid row end grid row gap grid row start grid template grid template areas grid template columns grid template rows hanging punctuation height hyphens image rendering import initial letter isolation justify content justify items keyframes left letter spacing line break line clamp line height list style list style image list style position list style type margin margin bottom margin left margin right margin top max height max lines max width media min height min width mix blend mode object fit object position offset offset anchor offset distance offset path offset position offset rotate opacity order orphans outline outline color outline offset outline style outline width overflow overflow anchor overflow wrap overflow x overflow y padding padding bottom padding left padding right padding top page break page break after page break before page break inside perspective perspective origin place items pointer events position quotes resize right scroll behavior scrollbar shape outside speak stroke stroke dasharray stroke dashoffset stroke linecap stroke width tab size table layout text align text align last text combine upright text decoration text decoration color text decoration line text decoration skip text decoration skip ink text decoration style text fill color text indent text justify text orientation text overflow text rendering text shadow text stroke text stroke color text stroke width text transform text underline position top transform transform origin transform style transition transition delay transition duration transition property transition timing function unicode bidi unicode range user select vertical align visibility white space widows width will change word break word spacing word wrap writing mode z index zoom propiedad height de css la propiedad height de css establece la altura del elemento prueba ejemplos con cada valor de esta propiedad la propiedad height de css establece la altura del content box de un elemento el área donde viven el texto y los elementos hijos por defecto height auto el navegador ajusta el tamaño de un elemento de bloque para que sea lo suficientemente alto como para contener su contenido por lo que solo se establece height cuando se necesita un tamaño fijo o relativo en su lugar por defecto el valor que se asigna se aplica únicamente al content box no incluye el padding los bordes ni los márgenes un div con height 100px padding 20px tiene por tanto 140px de alto en pantalla para que height incluya el padding y el borde establece box sizing border box una práctica recomendada casi universal la propiedad complementaria es width que funciona de la misma manera para el eje horizontal puedes expresar la altura como una longitud px em rem vh cm o como un porcentaje el valor predeterminado es auto si también se establecen las propiedades min height y max height estas restringen height el elemento nunca se reduce por debajo de min height ni crece más allá de max height cuando height es un valor numérico y el contenido es más alto que esa altura el contenido desborda su caja la propiedad overflow controla lo que ocurre entonces recortarlo ocultarlo o añadir una barra de desplazamiento i información no se aceptan valores negativos advertencia el problema con los porcentajes un height en porcentaje se resuelve respecto a la altura del elemento padre y solo si ese padre tiene una altura explícita si la altura del padre es auto el valor predeterminado un height 50 de un hijo no tiene una referencia fija y se trata como auto por lo que parece no tener efecto para que las alturas en porcentaje se propaguen hasta la página asigna una altura explícita a los ancestros comúnmente html body height 100 o usa la unidad de viewport vh height 50vh es siempre la mitad del viewport independientemente del padre valor inicial auto se aplica a todos los elementos heredable no animable sí la altura es animable versión css1 sintaxis dom object style height 400px sintaxis sintaxis de la propiedad height de css height auto length initial inherit copiar ejemplo de la propiedad height ejemplo de la propiedad height de css con valor de longitud doctype html html head title the title of the document title style div height 60 px background color 1c87c9 color eee p height 30 px background color 8ebf42 color eee style head body h2 height property example h2 div the height of this div element is set to 60px div p the height of this paragraph is set to 30px p body html copiar pruébalo tú mismo resultado ejemplo de la propiedad height con la etiqueta html image ejemplo de la propiedad height de css con valores auto y de longitud doctype html html head title the title of the document title style body background color ccc height normal height auto height big height 100 px style head body h2 height property example h2 p here the height is set to auto p img class height normal src https api w3docs com uploads media default 0001 01 003e5c463668d174ab70bea245c192d81901a4a6 png br hr p the height for this image is defined as 100px p img class height big src https api w3docs com uploads media default 0001 01 003e5c463668d174ab70bea245c192d81901a4a6 png body html copiar pruébalo tú mismo ejemplo de la propiedad height con el valor length ejemplo de la propiedad height de css usando el valor vh doctype html html head title the title of the document title style container height 50 vh border 2 px solid 1c87c9 padding 5 px style head body h2 height property example h2 div class container p here the height is specified as 50vh p div body html copiar pruébalo tú mismo ejemplo de la propiedad height con todos los valores ejemplo de la propiedad height de css con valores auto vh y px doctype html html head title the title of the document title style red container height 30 vh border 2 px solid f45e30 color f45e30 blue container height 40 width 30 border 2 px solid 1c87c9 color 1c87c9 margin top 20 px orange container height 100 px border 2 px solid f9fc35 color f9fc35 margin top 20 px green container height auto border 2 px solid 8ebf42 color 8ebf42 margin top 20 px style head body h2 height property example h2 div class red container height 30vh div class blue container height 40 div div div class orange container height 100px div div class green container height auto div body html copiar pruébalo tú mismo palabras clave de dimensionamiento intrínseco más allá de las longitudes fijas y los porcentajes el css moderno añade palabras clave que dimensionan un elemento según su contenido en lugar de con un número box height max content tall enough for the content never wrapping it shorter box height min content the smallest height the content can take box height fit content like auto but clamps to fit content length when given copiar son más útiles en diseños con flexbox y css grid donde se desea que una pista o elemento se ajuste a su contenido en lugar de estirarse son ampliamente compatibles con los navegadores actuales valores valor descripción pruébalo auto con este valor el navegador calcula la altura original de la imagen o la caja este es el valor predeterminado de esta propiedad pruébalo length define la altura con px cm em rem vh etc pruébalo define la altura con porcentaje initial hace que la propiedad use su valor predeterminado pruébalo inherit hereda la propiedad de su elemento padre práctica práctica cuáles son los posibles valores para la propiedad height en css cuáles son los posibles valores para la propiedad height en css puede establecerse con una altura específica en píxeles o porcentajes puede establecerse como auto lo que significa que el navegador calcula la altura puede establecerse como inherit lo que significa que el elemento toma la altura calculada de su elemento padre puede establecerse como initial lo que significa que la propiedad se establece a su valor predeterminado puede establecerse con valores de color como rojo azul o verde comprobar was this page helpful yes no previous hanging punctuation next hyphens on this page sintaxis palabras clave de dimensionamiento intrínseco valores práctica w3docs tutoriales ejemplos ejercicios fragmentos y cuestionarios gratuitos para la web desde 2014 libros aprender html aprender css aprender javascript aprender git aprender java aprender php aprender python práctica ejercicios cuestionarios editor try it herramientas html editor password generator html encoder code diff json beautifier empresa acerca de contacto política de privacidad idioma english deutsch русский français español português italiano 2026 w3docs todos los derechos reservados hecho para desarrolladores
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

    No Images


    Verified site has: 360 subpage(s). Do you want to verify them? Verify pages:

    1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
    51-55 56-60 61-65 66-70 71-75 76-80 81-85 86-90 91-95 96-100
    101-105 106-110 111-115 116-120 121-125 126-130 131-135 136-140 141-145 146-150
    151-155 156-160 161-165 166-170 171-175 176-180 181-185 186-190 191-195 196-200
    201-205 206-210 211-215 216-220 221-225 226-230 231-235 236-240 241-245 246-250
    251-255 256-260 261-265 266-270 271-275 276-280 281-285 286-290 291-295 296-300
    301-305 306-310 311-315 316-320 321-325 326-330 331-335 336-340 341-345 346-350
    351-355 356-360


    The site also has 3 references to external domain(s).

     x.com  Verify  github.com  Verify  linkedin.com  Verify


    Top 50 hastags from of all verified websites.

    Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

    Header

    HTTP/1.1 301 Moved Permanently
    Date Sun, 27 Sep 2026 09:15:28 GMT
    Content-Type text/html; charset=UTF-8
    Transfer-Encoding chunked
    Connection close
    Location htt????/es.w3docs.com/learn-css/height
    Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=FGsp3VLmioLb8JXDEL3LcDt2VwS3k%2Fdx0ZY05Qi4kRzcNwYuoegRQ615a2RsOOOpczmkcttjxC2WtcOT3yr7eGBfe3TwSvRQyBje7YhA%2FcnTQFVL8PsKSmYPCEuyr46c ]
    Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    Server cloudflare
    CF-RAY a4196771392f0471-CDG
    alt-svc h3= :443 ; ma=86400
    HTTP/2 200
    date Sun, 27 Sep 2026 09:15:29 GMT
    content-type text/html; charset=utf-8
    cache-control public, max-age=0, s-maxage=3600, stale-while-revalidate=86400
    nel report_to : cf-nel , success_fraction :0.0, max_age :604800
    link </_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2>; rel=preload; as= font ; crossorigin= ; type= font/woff2 , </_next/static/chunks/0f-03z2d3_qak.css>; rel=preload; as= style , </_next/static/chunks/167rp0.dvu8z4.css>; rel=preload; as= style
    vary rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch, Accept-Encoding
    via 1.1 Caddy
    x-locale es
    x-powered-by Next.js
    cf-cache-status DYNAMIC
    report-to group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=kJjgddfVwoRtjeB1RZ6u9is8dTaAKaj%2BtGFEZUK0EcOCww%2BIC5hsl1BPVAZrNzMzuG5iahE6ZXseu8PHghNj0an05lr69E9yO7eMfk77UY849WpAsC6WCbI8YlMUmSgi ]
    content-encoding gzip
    server cloudflare
    cf-ray a41967718858d0b6-CDG
    alt-svc h3= :443 ; ma=86400

    Meta Tags

    title="Propiedad height de CSS | W3docs"
    charset="utf-8"
    name="viewport" content="width=device-width, initial-scale=1"
    name="next-size-adjust" content=""
    name="description" content="La propiedad height de CSS establece la altura del elemento. Prueba ejemplos con cada valor de esta propiedad."
    property="og:title" content="Propiedad height de CSS"
    property="og:description" content="La propiedad height de CSS establece la altura del elemento. Prueba ejemplos con cada valor de esta propiedad."
    property="og:url" content="htt????/es.w3docs.com/learn-css/height"
    property="og:site_name" content="W3docs"
    property="og:locale" content="es_ES"
    property="og:image" content="htt????/www.w3docs.com/build/images/logo-amp.png"
    property="og:type" content="article"
    name="twitter:card" content="summary_large_image"
    name="twitter:site" content="@w3docs"
    name="twitter:title" content="Propiedad height de CSS"
    name="twitter:description" content="La propiedad height de CSS establece la altura del elemento. Prueba ejemplos con cada valor de esta propiedad."
    name="twitter:image" content="htt????/www.w3docs.com/build/images/logo-amp.png"

    Load Info

    page size50009
    load time (s)0.965125
    redirect count1
    speed download51822
    server IP 104.26.4.230
    * all occurrences of the string "http://" have been changed to "htt???/"