Allign text html

Hi All

How do I allign these lines html,thank you

<span class="time"><strong> 
06:00 
</strong></span> 
 
<div class="cDesc" style="display: none"> 
TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT 
</div> 
 
<div class="cTitle" style="display: none"> 
TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT 
</div>

What do you mean by "align"? If you want to pretty-print the code, run it through HTML Tidy

i would like to know the line up to transform like the down in my document,with a order sed,awk ... ,thanks

<span class="time"><strong>06:00</strong></span> 
 
<div class="cDesc" style="display: none">TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT</div> 
 
<div class="cTitle" style="display: none">TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT</div>
while read line; do
echo "$line" | grep "^$" >/dev/null 2>&1 && (echo; echo) || echo -n $line
done <file ; echo
<span class="time"><strong>06:00</strong></span>

<div class="cDesc" style="display: none">TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT</div>

<div class="cTitle" style="display: none">TEXTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT</div>
$ 
1 Like