I want to render the following series of numbers as below:

> 
> 123456789**1**23456789**2**23456789**3**23456789**4**23456789**5**
> 
> 
> 

```
<span>1</span>
<span>2</span>
...
<span>9</span>
<span class="bold">1</span>
<span>2</span>
...

```

What is the best way considering that;

1.The total character length can be dynamic. For now we can consider it as above example.

2.I want some of the characters to be in bold as shown.

What is the best way to implement the same?

I was planning to create a static array with individual characters as:

```
1234567891234567892234567893234567894234567895

```

Then iterate and render them using jQuery.

PS: The sequence of numbers appearing and the boldness would always be the same even though the total length can change. (I think it is max 80 chars.)