html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
Module 9 HTML Elements
Module 9 HTML Elements
Department of Education
Region III
Division of City Schools
OLONGAPO CITY NATIONAL HIGH SCHOOL
Olongapo City
Quarter 4: Computer Science 1 for Grade 7 ICT and STE Program (Week 5)
Module 13: HTML Elements
Learning Objective: To identify and apply the different HTML elements.
An HTML element is defined by a start tag, some content, and an end tag.
HTML Elements
The HTML element is everything from the start tag to the end tag:
<tagname>Content goes here...</tagname>
Examples of some HTML elements:
<h1>My First Heading</h1>
<p>My first paragraph.</p>
Note: Some HTML elements have no content (like the <br> element). These elements are called empty elements. Empty elements do
not have an end tag!
Example Explained
The <html> element is the root element and it defines the whole HTML
document.
It has a start tag <html> and an end tag </html>.
Then, inside the <html> element there is a <body> element: