Tag Attributes in PHP
Let's use the tag
<?php
echo '<a href="index.php">ссылка</a>';
?>
Now let the address and the link text be stored in separate variables:
<?php
$href = 'index.php';
$text = 'ссылка';
echo '<a href="' . $href . '">' . $text . '</a>';
?>
Using the tag img
display some image on the screen.
Using the tag input
display an input field with some text.
Using the tag textarea
display a multiline input field
with some text.