thml Flashcards
what Is HTML
HTML is the language/script that web pages are written in
what does HTML allow to do
allows a browser to interpret and render a webpage for the viewer by describing the structure and order of the webpage.
how is the language written in HTML
he language uses tags written in angle brackets (<tag>, </tag>).
what are the 2 sections of a webpage
the body and the head.
what does the head do in HTML
contains title of the webpage
what does the body do in html
ontains the content of the webpage.
List the HTML tags and what they are used for
13
<html> All code written within these tags is interpreted as HTML
<body> Defines the content in the main browser content area
<link></link> Used to link to a CSS stylesheet or Java
<head> Defines the browser tab or window heading area
<title> Defines the text that appears with the tab or window heading area
<h1>, <h2>, <h3> Heading styles in decreasing sizes
<p> Paragraph separated with a line space above and below
<img></img> Self closing image tag with parameters: img src=location, height=x, width =y
<a> Anchor tag defining a hyperlink with location parameter <a> link text </a>)
<ol> Defines an ordered list
<ul> Defines an unordered list
<li> Defines an individual list item
<div>Divides a page into separate areas, each which can be referred to uniquely by name
<script> <form> <input> </script></div></li></ul></ol></a></p></h3></h2></h1></title></head></body></html>
what is CSS
script/language like HTML except is used to describe the style of a webpage.
what do CSS do
CSS can be used to specify the way HTML elements look, they can be applied to
whole tags such as <h1>, <p> or <div>.
● CSS can be used using two different form, internal/embedded or external CSS the
internal CSS is when the style is placed.
● The internal/embedded CSS is placed inside the style tags and is entered directly
within the HTML document.
thing to note about head and body and html tags
must not out any tags next to it
must be under it
how to end a page
/ is paced BEFORE the letters </p>