Example of using the hyperlink tag <a> and tag attributes
<html>
<body>
<a href="https://www.mid.ru/"> </a>
</body>
<html></html>
</html>
Example of text tags
<html>
<body>
<h1>Megatrend 1</h1>
<p>Here is information about <b>megatrend 1</b></p>
<h2>Megatrend 2</h2>
<p>Here is information about <i>megatrend 2</i></p>
<h3>Megatrend 3</h3>
<p>Here is information about <u>megatrend 3</u></p>
<h4>Megatrend 4</h4>
<p>Here is information about <span>megatrend 4</span></p>
</body>
<html> Example of a definition list with source code
<dl>
<dd>Digital diplomacy</dd>
<dt>Using the capabilities of the Internet and information technologies to solve diplomatic tasks</dt>
<dd>Megatrends</dd>
<dt>Global trends that cover the whole world</dt>
</dl>
Example table with source code
<table>
<thead>
<tr>
<th>ID</th>
<th>Social network name</th>
<th>Audience</th>
<th>Year founded</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Facebook</td>
<td>2.96 bn</td>
<td>2004</td>
</tr>
<tr>
<td>3</td>
<td>Twitter</td>
<td>540 m</td>
<td>2006</td>
</tr>
</tbody>
</table>
#transportation program
library(fridge)
for i in c("milk", "juice", "soda") {
take i
open fridge
put i in fridge
close fridge
}
Using a loop in scraping
Combining data into a single table