HTML tags

Description

HTML stands for Hyper Text Markup Language HTML is the standard markup language for creating Web pages HTML describes the structure of a Web page HTML consists of a series of elements HTML elements tell the browser how to display the content HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
Kimberly Jordan
Flashcards by Kimberly Jordan, updated more than 1 year ago
Kimberly Jordan
Created by Kimberly Jordan over 3 years ago
0
0
1 2 3 4 5 (0)

Resource summary

Question Answer
<!DOCTYPE> tag *tells the browser what version of HTML the page is written in. *is the very first line in the HTML document.
<html></html> tag *represents the root of an HTML document. *is the container for all other HTML elements (except for the <!DOCTYPE> tag).
<head></head> tag *is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. *The following elements can go inside the <head> element: <title> (required in every HTML document) <style> <base> <link> <meta> <script> <noscript>
<body></body> tag *defines the document's body. *contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
<p></p> tag *defines a paragraph. *Also use to write several paragraphs. *Also use to write a paragraph of multiple lines.
<link></link> tag *defines the relationship between the current document and an external resource. *is most often used to link to external style sheets or to add a favicon to your website. *is an empty element, it contains attributes only.
<img > tag *is used to embed an image in an HTML page. *creates a holding space for the referenced image. *has two required attributes: src - Specifies the path to the image alt - Specifies an alternate text for the image
<h1> to <h6> tags *are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading. *Only use one <h1> per page - this should represent the main heading/subject for the whole page.
<div></div> tag *defines a division or a section in an HTML document. *is used as a container for HTML elements - which is then styled with CSS or manipulated with JavaScript. *is easily styled by using the class or id attribute. *Any sort of content can be put inside the <div> tag!
<!-- Your comment here--> tag *is a piece of code which is ignored by any web browser.
<ol></ol> tag *defines an ordered list. An ordered list can be numerical or alphabetical. *is used to define each list item.
<ul></ul> tag *defines an unordered (bulleted) list. *use the <ul> tag together with the <li> tag to create unordered lists.
<a></a> tag *is used to add hyperlinks to your web page. *is used both for linking to external web pages and for linking to individual HTML documents on the same website. *requires one attribute: * href - Tells where the browser should navigate to.
<br> tag *inserts a single line break. *is useful for writing addresses or poems. *is an empty tag which means that it has no end tag.
<hr> tag *defines a thematic break in an HTML page (e.g. a shift of topic). *is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page.
<li> tag *defines a list item. *is used inside ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>). *In <ul> and <menu>, the list items will usually be displayed with bullet points. *In <ol>, the list items will usually be displayed with numbers or letters.
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

HTML Tags
Yrwin's Classical
AQA Sociology AS level
rhian-hay
IB Economics SL: Microeconomics
Han Zhang
Psychology Exam review
emaw757
Main Themes in Romeo and Juliet
Carlowl
AQA GCSE Chemistry Unit 2
Gabi Germain
Treaty of Versailles
Krista Mitchell
SFDC App Builder 1 (26-50)
Connie Woolard
Repaso Revalida PR 2016
Leticia Ortiz del Moral
I always Feel Tired
Fatma Shwaylia