HTML의 Aside 태그는 주로 웹페이지의 중요한 내용을 표시하는 데 사용됩니다. 웹페이지의 주요 내용에 초점을 맞추는 하이라이터 역할을 합니다. HTML에서 이 태그는 웹페이지를 구분하거나 파티션을 만들 때도 사용되지만, 웹페이지의 주요 내용에만 집중할 목적으로 사용됩니다. 이는 웹페이지 디자인을 더 쉽게 만드는 데 사용되며, 이는 포함된 HTML 문서에 더 명확성을 제공합니다. 웹페이지에서 별도 태그의 기본 배치 영역은 사이드바 또는 설명 상자에 있습니다.
구문:
<body> <aside> <p>some text</p> </aside> </body>
아래는 HTML의 Aside 태그 속성입니다.
코드:
<html> <body> <h1>A. P. J. Abdul Kalam</h1> <article> <aside style="float:right;width:20%; background-color:deepskyblue;padding:20 20px;"> <img src="APJ.jpg" style="height:40%; width:100%;"> </aside> <p style="width:80%;padding:20px;"> Dr.A.P.J Abdul Kalam was known as one the most famous personality in the India. His full name was Avul Pakir Jainulabdeen Abdul Kalam. His whole life journey comes in between 15 october 1931 – 27 july 2015 . .In this time he was worked as aerospace scientist . Rameswaram ,Tamil Nadu was his birthplace. As well as he was completed his education in physics and aerospace engineering from Tamilnadu state itself. He was provide service to the nation as being 11<sup>th</sup> president of India from 2002 to 2007. He almost spend 4 decades of service as being scientist and science administrator , majorly he was active participants at the Defence Research and Development Organisation (DRDO) and in most famous organization of India i.e and Indian Space Research Organization (ISRO). Due to his active participation in those organization and had part of India’s military missile development he was known as Missile Man of India. He played very important role in nuclear test which is taken by India for Pokharan -2 nuclear test in the year 1998.<br> He was well known personality in all reputed fields like education, aerospace, military, public service and into the writing. He died on 27 July 2015, aged 83</p> </article> </body> </html>
출력:
코드:
<html> <head> <title>Aside tag</title> <style> .demo { font-size:30px; font-weight:bold; } h1 { font-size:30px; color:purple; font-weight:bold; } p { font-size:20px; margin:20px 0; } </style> </head> <body> <div class = "demo"><u>Delhi factory tragedy</u></div> <aside> <h1>Delhi fire tragedy: Meet fireman Sunil Kumar who saved more than dozen lives</h1> <p> Meet fireman Sunil Kumar, who along with his team, saved the lives of more than a dozen of people from the bag manufacturing factory fire in Delhi's Anaj Mandi area this morning. The early morning fire had left over 40 dead and many injured.<br>As soon as Sunil Kumar, who is also a President award winner, arrived at the spot with his team from Prasad Nagar, it was very difficult for the fire tender to reach the site from the main road, but somehow one fire tender entered while other fire tenders were waiting on the road .</p> </aside> </body> </html>
출력:
코드:
<body> <article> <h1>Miss South Africa crowned 2019 Miss Universe</h1> <p>Miss Universe 2018 Catriona Gray of the Philippines crowns the new Miss Universe 2019, South Africa's Zozibini Tunzi, during the pageant at Tyler Perry Studios in Atlanta, Georgia, on December 8, 2019. </p> <img src="Miss.jpg" style="height:10%; width:20%;"> </article> <p>The two runners-up for the crown were Miss Mexico and Miss Puerto Rico.</p> </body>
출력:
HTML의
위 내용은 HTML의 태그 제외의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!