HTML& CSS for Beginners
eBook - ePub

HTML& CSS for Beginners

Learn the Fundamentals of Computer Programming

Jo Foster

Compartir libro
  1. English
  2. ePUB (apto para móviles)
  3. Disponible en iOS y Android
eBook - ePub

HTML& CSS for Beginners

Learn the Fundamentals of Computer Programming

Jo Foster

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

With so much information about web development and online coding tutorials out there, it can be difficult to know where to start.

Many guides, websites and books can be confusing and don't make it easy for those starting out. HTML & CSS For Beginners fills in the gap and provides a great place to start learning something new.

Using our bestselling, straightforward, step-by-step, visual approach, learn to

Understand HTML tags and elements

Understand CSS selectors

Style tables, lists, and forms

Style text, headings and paragraphs

Learn to use web safe fonts and google fonts in your web pages

Insert images, audio and video into web pages

Align your content and build site structure using new HTML5 elements

Learn to harness the power of CSS to style your text and build your site layout

Understand web servers and how the serve pages to web browsers

Familiarise yourself with HTML & CSS syntax with appendix reference guides to help you write your code.

Techniques are illustrated step-by-step using full color diagrams and screen prints throughout together with clear and concise tutorials from an established expert in the field.

If you want to learn to code quickly and easily, this is the guide you need.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es HTML& CSS for Beginners un PDF/ePUB en línea?
Sí, puedes acceder a HTML& CSS for Beginners de Jo Foster en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming in HTML. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2022
ISBN
9781913151706

Getting Started with HTML

In this chapter we’ll build a very simple web page using common text formatting tags, we’ll add some images, links, tables, and lists.
This will provide you with a foundation and basic structure of a web page using HTML, which you can build on later.
In the chapter we’ll walk through the process from blank, and build a page using the different tags.

Setting Up

For the exercises in this chapter we will be using notepad and a web browser.
First open up your file explorer, go to your documents folder and create a new folder called public_html.
Next, open up your text editor. I’m going to use notepad. Go to ‘file’ and click ‘save as’.
From the dialog box, navigate to your ‘documents’ folder and select public_html.
In the ‘file name’ field, enter the name of your web page. Make sure the file extension is .html
index.html
Open up your file explorer, navigate to your documents folder, then public_html, as before, and double click index.html to open it in your web browser.
Index.html is the default file that is usually loaded when navigating to a website address.
Arrange your windows side by side, put notepad on the left and your web browser next to it on the right; as they are on the opposite page. You may need to resize your windows.
Every time you make any changes to your file in notepad, you’ll need to save the file, then click the refresh icon in your web browser.
Lets get started.

Tags for Formatting Text

As you can see in the illustration below, the text in the <title> tags appear on the title tab in the web browser, and anything between the <body> tags appear in the browser window.
HTML tags label the pieces of your web page, such as headings, text formatting with bold or italic, paragraphs, images, links, and tables.
Lets have a look at some simple formatting tags
Main Heading Style <h1>...</h1>
Subheading Style <h2>...</h2>
Bold Text <b>...</b>
Italic Text <i>...</i>
Paragraph Text <p>...</p>
Most tags come in pairs and you’ll need to surround the piece of text or word using the start and end tags.
For ex...

Índice