HTML stands for HyperText Markup Language
Example of HTML:
<html>
<body>
<h1>Heading Size 1</h1>
<p><b>A Bold line of text</b></p>
</body>
</html>
Task 6 Definitions:
Tag: A tag is a way HTML finds out how to format the document, a tag normally comes in pairs such as "<p></p>"
Element: an Element in an HTML document is an individual component of the document. An Element can also be modified by Attributes. An Example would be "<p>The Text or other content inside the tags is known as the element</p>"
Attribute: An Attribute is a modifier of an HTML Element type. For example, "<tag attribute="value">text or other content to be modified by defined tag</tag>>"
Task 7
<p> Hello World! </p>
This text when within an HTML document creates a new paragraph that contains the text "Hello World!"
Task 8-9
<html>
<head>
<title>My First Page</title>
</head>
</html>
When inputted into Notepad++ then ran as an HTML file, the text "My First Page" appears up in the tab area.
Edited Version:
<html>
<head>
<title>Michael Alexander Lagocki</title>
</head>
</html>
Task 10
<!DOCTYPE html>
<html>
<body>
<h1>Heading 1</h1>
<p>A paragraph created for the HTML Blog</p>
<p>created by Michael Lagocki</p>
</body>
</html>
Task 11
<!DOCTYPE html>
<html>
<body>
<h1>This is a modified heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3 it's getting smaller</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This was edited by Michael</h6>
</body>
</html>
Task 12
<!DOCTYPE html>
<html>
<body>
<p>This is a modified paragraph.</p>
<p>Edited by Michael Lagocki</p>
<p>For task 12</p>
</body>
</html>
No comments:
Post a Comment