standard markup language used to create web pages
HTML
HTML represents the ____ part of web design
content
tag
an HTML recognized keyword enclosed in angle brackets <html>
element
<start>mark up text<end>
</end></start>
attribute
format of AttributeName=”value”
(<meta></meta>)
void element
element that has no mark up text, nor the end tag
all html docs must start with
<!DOCTYPE> declaration
T/F: HTML code is case sensitive
FALSE
head section
invisible, container for all head elements, title element required
optional head elements
meta, style, script
body section
visible, can use many elements (text, paragraph, image, hyperlink, table, form)
Head Section Elements
Title
Meta
- charset
- keywords
- description
Style
Script
body section elements
Heading (h1-h6)
paragraph (strong, em)
linking (a)
internal linking (a with #)
image and image linking (img)
lists
tables
grouping elements (div, span)
line breaks
special characters
table elements
table, thead, tbody, tr, th, td
block-level elements
enclosed in invisible rectangular box. always start on new line and take up full width available
examples of block-level elements
h1-h6, ol, ul, li, p, body, div, table
inline elements
do not start on a new line, only take up necessary width. can be embedded in line
examples inline elements
a, img, strong, em, span, br
example of paragraph with bold and italicize
this is a <strong> paragraph</strong> with <em> lines </em>
form element
used to collect user input
form attributes
method, action
method
specifies the http method type to be used when submitting data (get/post)
action
specifies a form handler for processing data collected within form when form is submitted
form example
<form>
</form>