Please enable JavaScript.
Coggle requires JavaScript to display documents.
HTML (tags (blocks (<div> </div> (add several <div>s…
HTML
tags
blocks
-
<span> </span>
<span>s contain short pieces of text or other HTML. They are primarily used to wrap small pieces of content that are on the same line as other content and do not break text into different sections.
<div> </div>
They are primarily used to divide HTML documents into sections. <div>s can contain any text or other HTML elements.
add several <div>s with ids to organize our text into sections. Later, we will use this structure to create links that allow a user to quickly navigate the content of our page.
-
-
-
-
-
-
-
-
defenition
A markup language is a computer language that defines the structure and presentation of raw text. Markup languages work by surrounding raw text with information the computer can interpret, "marking it up" to be processed
-
HTML structure
<!DOCTYPE html><html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello World</h1>
<!-- comment -->
<div>
<p>This paragraph is a child of the div element</p>
</div>
<p>This paragraph is a child of the body element</p>
</body>
</html>
-