Html handbook adriana ibarra

Page 1

HTML Information Adriana Ibarra 1/29/2018 CDA 10A25


HTML Information

Contents INTRODUCTION: .................................................................................................................................. 1 Intro to HTML ...................................................................................................................................... 2 Uses of HTLM ...................................................................................................................................... 2 Versions of HTLM ................................................................................................................................ 2 What is HTML5? .................................................................................................................................. 3 Definition ......................................................................................................................................... 3 Description ...................................................................................................................................... 3 The DOCTYPE declaration for HTML5: ............................................................................................ 3 The character encoding (charset) declaration ................................................................................ 3 What is the basic structure of an HTML document? .......................................................................... 3 What is the <!DOCTYPE> declaration? ................................................................................................ 3 What is the basic HTML editor? .......................................................................................................... 4 HTML element ..................................................................................................................................... 4 Definition ......................................................................................................................................... 4 Description ...................................................................................................................................... 4 Definition of the elements in the basic HTML structure ..................................................................... 4 The attributes of an HTML element .................................................................................................... 4 What are HTML tags............................................................................................................................ 5 Definition ......................................................................................................................................... 5 The HTML colors.................................................................................................................................. 5 Color names .................................................................................................................................... 5 RGB values ....................................................................................................................................... 5 HEX values ....................................................................................................................................... 5 USEFUL SITES YOU MUST CHECK: ....................................................................................................... 5

INTRODUCTION: This handbook introduces the basic things to know about HTML like what it is, its uses, and versions. This handbook could be really useful for you reader, if you want to create your own web page ď Š and edit it nicely.

pg. 1 Adriana Ibarra


HTML Information

Intro to HTML HTML is the standard markup language for creating Web pages and achieves font, color, graphic, and hyperlink effects on World Wide Web pages. HTML stands for Hyper Text Markup Language, it describes the structure of Web pages using markup.

Uses of HTLM HTML is used to create documents on the World Wide Web. HTML defines the structure and layout of a Web document by using a variety of tags and attributes. If you are a content contributor for your organization's website, the website designer may have set up a content management system that lets you add articles or page sections within a larger, existing HTML page structure that controls page layout and site navigation. It is also used as the document format of offline (stored on your computer) help and documentation bundled with the applications installed on your computer. Email also uses HTML as the format of rich text messages that include links, stylized text, tables, and other elements that cannot be represented in plain text. However, most email applications do not allow you to edit the HTML directly, instead providing you with tools to create elements and generating the corresponding HTML internally.

Versions of HTLM HTML- year 1991 HTML 2.0- year 1995 HTML 3.2- year 1997 HTML 4.01- year 1999 XHTML- year 2000 HTML5- year 2014

pg. 2 Adriana Ibarra


HTML Information

What is HTML5? Definition HTML5 is the latest version of Hypertext Markup Language, the code that describes web pages. It’s actually three kinds of code: HTML, which provides the structure; Cascading Style Sheets (CSS), which take care of presentation; and JavaScript, which makes things happen.

Description HTML5 can be used to write web applications that still work when you're not connected to the net; to tell websites where you are physically located; to handle high definition video; and to deliver extraordinary graphics.

The DOCTYPE declaration for HTML5: <!DOCTYPE html>

The character encoding (charset) declaration <meta charset="UTF-8">

What is the basic structure of an HTML document? An HTML document has two main parts: the head and the body. But firstly every HTML document should start by declaring that it is an HTML document. These tags are of the form: <html> Should appear at the beginning of your document. </html> Should appear at the end of your document.

What is the <!DOCTYPE> declaration? The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in. One example: <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head>

pg. 3 Adriana Ibarra


HTML Information

<body> The content of the document...... </body> </html>

What is the basic HTML editor? An HTML editor is a computer program for editing HTML, the markup of a webpage. Web pages can be created and modified by using professional HTML editors. By using a simple text editor is a good way to learn HTML.

HTML element Definition An HTML element usually consists of a start tag and end tag, with the content inserted in between:

Description <tagname>Content goes here...</tagname> The HTML element is everything from the start tag to the end tag:

<p>My first paragraph.</p>

Definition of the elements in the basic HTML structure HTML elements and tags work together to mark up content. HTML elements indicate the purpose of a tag and tags indicate the beginning and the end of an element. There are the: HTML documents, HTML headings, HTML paragraphs, HTML links and HTML images.

The attributes of an HTML element Attributes provide additional information about HTML elements. They are always specified in the start tag and usually come in name/value pairs like: name="value". Some attributes are: the herf attribute, the scr attribute, the width and height attribute and the alt attribute.

pg. 4 Adriana Ibarra


HTML Information

What are HTML tags Definition The <html> tag tells the browser that this is an HTML document and it epresents the root of an HTML document. This tag is the container for all other HTML elements (except for the <!DOCTYPE> tag).

The HTML colors HTML colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values. You can set the color of the text, background and the border.

Color names        

Tomato Orange Dodger Blue Medium Sea Green Gray Slate Blue Violet Light Gray

RGB values In HTML, a color can be specified as an RGB value, using this formula: rgb(red, green, blue). Each parameter (red, green, and blue) defines the intensity of the color between 0 and 255.

HEX values In HTML, a color can be specified using a hexadecimal value in the form: #rrggbb. Where rr (red), gg (green) and bb (blue) are hexadecimal values between 00 and ff (same as decimal 0-255).

USEFUL SITES YOU MUST CHECK: https://www.w3schools.com/html/html_intro.asp https://web.stanford.edu/group/csp/cs21/htmlcheatsheet.pdf https://developer.mozilla.org/en-US/docs/Web/HTML

pg. 5 Adriana Ibarra


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.