loop to display whatever number use types

sorry couldnt think of a proper title lol

ok i have the following script it asks the user how many html tags they want. Im not sure how to display 2 tags if the user eneters the want only 2 tags

tags as in <p></p> or <h1></h1>

read -p "How many tags" tags1

if [ $tags1 -ge 1 ]
then
echo "<$tags1> $paragraph <$tags1>
end if

so if i enter 2 in my script it should display this twice

<$tags1> $paragraph <$tags1>
read -p "How many tags" tags1

if [ $tags1 -ge 1 ]
then
     for i in {1..$tags1}
     do     
         echo "<$tags1> $paragraph <$tags1>
    done
end if

bash only.

for i in {1..$tags1}

what does this line mean and why is it it a 1 and 2 dots?

{N..M} is a shell sequence expression, which generates a numeric or char sequence between N and M (inclusive).

echo {1..3}
1 2 3

If your shell doesn't support it you can use man seq ("Linux").