분류 jquerymobile

버튼에 엘리먼트 추가하기

컨텐츠 정보

  • 조회 872 (작성일 )

본문

<!DOCTYPE html>

<html>

<head>

<script type='text/javascript'

  src='http://code.jquery.com/jquery-1.6.4.js'></script>

<script type='text/javascript'

  src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.js"></script>

<link rel="stylesheet" type="text/css"

  href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css">

</head>

<body>

  <div data-role="controlgroup" data-type="horizontal">

    <a href="" data-role="button">

      <h2>Header</h2>

      <p class="ui-li-desc">Player</p>

    </a> 

  </div>

</body>

</html>