With paragraphs we will start the new block of text. We must open and close p tags. Don't forget slash at the start of ending p tag.
Browsers automatically add vertical space between paragraphs. Between them we can have headings, images, tables and so on. We will learn about those combinations in future tutorials.
With basic html options we can have simple font styles. For example, we can bold text, italic it, have some sections subscripted or superscripted.
Our text in the paragraph can look like computer code, or to have middle line through it using del tag.
<!DOCTYPE html>
<html>
<head>
<title>Security Tutorials</title>
<meta charset="utf-8">
<meta name="description" content="Free Security Tutorials">
<meta name="keywords" content="it security, pentesting, hacking">
</head>
<body>
<p>This end is <b>bold</b></p>
<p>This <i>part is italic</i></p>
<p>Normal text, <sup>superscript text</sup></p>
<p>Normal text, <sub>subscript text</sub></p>
<p>This <del>par is not valid any more</del></p>
<p><code>This look like source code, or machine-alike</code></p>
</body>
</html>
No comments:
Post a Comment