HTML의 태그 제외
HTML의 Aside 태그는 주로 웹페이지의 중요한 내용을 표시하는 데 사용됩니다. 웹페이지의 주요 내용에 초점을 맞추는 하이라이터 역할을 합니다. HTML에서 이 태그는 웹페이지를 구분하거나 파티션을 만들 때도 사용되지만, 웹페이지의 주요 내용에만 집중할 목적으로 사용됩니다. 이는 웹페이지 디자인을 더 쉽게 만드는 데 사용되며, 이는 포함된 HTML 문서에 더 명확성을 제공합니다. 웹페이지에서 별도 태그의 기본 배치 영역은 사이드바 또는 설명 상자에 있습니다.
구문:
<body> <aside> <p>some text</p> </aside> </body>
- 태그 내의 HTML 코드에 포함된
- 기사 요소 내에서나 이 기사 요소 외부에서 사용해야 합니다. 기사 요소와 함께 이 태그를 사용하는 동안 기사의 콘텐츠가 포함되어야 합니다. 그리고 기사 요소 외부에서 사용될 때마다 전체 웹페이지와 관련된 데이터를 포함해야 합니다.
- 이는 HTML에서 블록 수준 요소로 간주됩니다.
- 하지만 다른 태그와 마찬가지로<제쳐두고> 태그는 이벤트 속성뿐만 아니라 전역 속성도 지원합니다.
HTML의 Aside 태그 속성
아래는 HTML의 Aside 태그 속성입니다.
전역 속성
- accesskey: 특정 속성을 강조 표시하는 단축키로 사용됩니다.
- class: 포함된 요소에 하나 이상의 클래스 이름을 정의하는 데 사용됩니다.
- contenteditable: 편집 가능 여부에 관계없이 요소의 세부정보를 제공하는 데 사용되는 이 속성입니다.
- data: 이 속성은 사용자 정의 데이터를 필수 페이지나 애플리케이션에 비공개로 수집하는 데 도움이 됩니다.
- 드래그 가능: 요소가 드래그 가능한지 여부를 정의합니다.
이벤트 속성
- onafterprint: 이 속성은 문서가 인쇄될 때마다 스크립트를 실행하는 데 사용됩니다.
- onerror: 오류가 발생할 때마다 이 속성이 실행됩니다.
- onmessage: 이 스크립트는 메시지가 트리거될 때 발생합니다.
- onpageshow: 사용자가 한 페이지에서 다른 페이지로 이동할 때마다 이 이벤트 속성이 이 이벤트에 적용됩니다.
- onstorage: 이 속성은 웹 저장소 영역이 업데이트될 때마다 스크립트를 실행합니다.
HTML의 Aside 태그 예시
예시 1 – 태그 포함
코드:
<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>
출력:
예 #2 – 외부 태그
코드:
<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>
출력:
예시 #3 – 스타일 태그
코드:
<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 중국어 웹사이트의 기타 관련 기사를 참조하세요!

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

Video Face Swap
완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

인기 기사

뜨거운 도구

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기
강력한 PHP 통합 개발 환경

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

HTML의 테이블 테두리 안내. 여기에서는 HTML의 테이블 테두리 예제를 사용하여 테이블 테두리를 정의하는 여러 가지 방법을 논의합니다.

HTML의 Nested Table에 대한 안내입니다. 여기에서는 각 예와 함께 테이블 내에 테이블을 만드는 방법을 설명합니다.

HTML 여백-왼쪽 안내. 여기에서는 HTML margin-left에 대한 간략한 개요와 코드 구현과 함께 예제를 논의합니다.

HTML 테이블 레이아웃 안내. 여기에서는 HTML 테이블 레이아웃의 값에 대해 예제 및 출력 n 세부 사항과 함께 논의합니다.

HTML 입력 자리 표시자 안내. 여기서는 코드 및 출력과 함께 HTML 입력 자리 표시자의 예를 논의합니다.

HTML 순서 목록에 대한 안내입니다. 여기서는 HTML Ordered 목록 및 유형에 대한 소개와 각각의 예에 대해서도 설명합니다.

HTML onclick 버튼에 대한 안내입니다. 여기에서는 각각의 소개, 작업, 예제 및 다양한 이벤트의 onclick 이벤트에 대해 설명합니다.

HTML에서 텍스트 이동 안내. 여기서는 Marquee 태그가 구문과 함께 작동하는 방식과 구현할 예제에 대해 소개합니다.
