html5tag
by leezche
HTML
<p>아이스와 레모네이드</p>
<p><s>소비자 가격: 3500원</s></p>
<p><strong>세일가 : 2500원</strong></p>
JavaScript
var progressBar = document.getElementById('p');
function updateProgress(newValue) {
progressBar.value = newValue;
progressBar.getElementsByTagName('span')[0].textContent = newValue;
}