Día 1: Pregunta básica

Guía de HTML y HTML5 con fundamentos, etiquetas semánticas, diferencias entre inline y bloque, y estructuras para crear sitios web accesibles y optimizados. Servicios de desarrollo de software a medida.

4 sept 2025 • 3 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Q: Que es HTML y por que se usa
Que: HTML HyperText Markup Language es un lenguaje de marcas para crear y estructurar paginas web en internet.
Por que: Se utiliza para mostrar texto, imagenes, enlaces y contenido multimedia, proporcionando la estructura de un sitio web.

Q: Diferencia entre HTML y HTML5
HTML: Version anterior para estructurar paginas, sin soporte nativo de audio video canvas, usa doctype largo y solo cookies para almacenamiento.
HTML5: Version moderna con soporte de audio, video, canvas, SVG y APIs, doctype simple <!DOCTYPE html>, almacenamiento local y de sesion, mas amigable con moviles.

Q: Cual es el proposito de <!DOCTYPE html>
Indica al navegador la version de HTML y fuerza el renderizado en modo estandar para evitar comportamientos antiguos.

Q: Diferencia entre <head> y <body>
Proposito: <head> contiene metainformacion de la pagina y <body> contiene el contenido visible.
Contenido: <head> alberga titulo, meta, enlaces a CSS y scripts; <body> muestra texto, imagenes, videos, enlaces, botones y formularios.
Visualizacion: <head> no se ve, <body> es lo que el usuario ve.

Q: Que son las etiquetas semanticas
Son etiquetas que describen de forma clara el significado del contenido para navegadores, desarrolladores y herramientas de accesibilidad.
Ejemplos: <header> <nav> <main> <section> <article> <aside> <footer>
Simple: Etiquetas semanticas describen el contenido de la pagina, por ejemplo <article> o <nav>.

Q: Diferencia entre elementos inline y de bloque
Visualizacion: Inline fluye dentro de una linea; bloque comienza en una linea nueva y ocupa todo el ancho disponible.
Tamano: Inline no permite ancho y alto; bloque si permite definir width y height.
Ejemplos: Inline <span> <a> <strong>. Bloque <div> <p> <h1>.
Simple: Inline se mantiene en la misma linea, bloque inicia una linea nueva y puede tener dimensiones.

Q: Diferencia entre <div> y <span>
Tipo: <div> es de bloque; <span> es inline.
Uso: <div> agrupa secciones de contenido; <span> sirve para dar estilo o marcar pequeños fragmentos de texto o contenido.
Comportamiento: <div> inicia linea nueva y se expande a lo ancho; <span> se mantiene en linea.
Simple: <div> agrupa bloques y <span> estiliza texto en linea.

Q: Que son los atributos HTML
Son pares nombre=valor que aportan informacion adicional a los elementos.
Ejemplos: id class src href alt
Simple: Los atributos dan detalles extra, por ejemplo id class src.

Q: Diferencia entre <ol> <ul> y <dl>
Proposito: <ol> crea listas numeradas, <ul> listas con viñetas, <dl> listas de terminos y definiciones.
Marcado: <ol> usa 1 2 3, <ul> usa viñetas, <dl> combina <dt> termino y <dd> definicion.
Simple: <ol> numerada, <ul> con viñetas, <dl> para definiciones.

Q: Diferencia entre URL absoluta y relativa en la etiqueta <a>
Absoluta: Direccion completa que incluye el dominio. Ejemplo <a href=https://example.com/pagina.html>Enlace</a>.
Relativa: Ruta basada en la ubicacion actual. Ejemplo <a href=pagina.html>Enlace</a>.
Uso: Absoluta para otros sitios; relativa para vinculos dentro del mismo sitio.
Simple: Absoluta es direccion completa, relativa es ruta desde la pagina actual.

Q: Que son las etiquetas autocontenidas o autocierre
Son elementos que no requieren etiqueta de cierre porque no envuelven contenido.
Ejemplos: img br hr input meta

En Q2BSTUDIO ayudamos a empresas a crear aplicaciones a medida y software a medida con estandares modernos de la web, asegurando rendimiento, accesibilidad y SEO desde la base del marcado HTML5. Nuestro equipo integra mejores practicas de arquitectura frontend con backends escalables y automatizacion de procesos, incorporando inteligencia artificial e ia para empresas mediante agentes IA y modelos avanzados. Tambien ofrecemos ciberseguridad y pentesting, servicios cloud AWS y Azure, asi como servicios inteligencia de negocio con power bi para convertir datos en decisiones.

Si necesitas llevar tu producto digital al siguiente nivel, descubre nuestro servicio de desarrollo de software a medida y aplicaciones a medida, desde prototipos hasta plataformas multiplataforma listas para escalar.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat