Computer >> 컴퓨터 >  >> 프로그램 작성 >> HTML

HTML 태그

<시간/>

HTML의 태그는 텍스트의 일부를 기울임꼴로 설정하는 데 사용됩니다. 태그 사용은 ,, 등의 의미 요소가 없는 경우에만 고려되어야 합니다.

이제 태그 −

를 구현하는 예를 살펴보겠습니다.

예시

<!DOCTYPE html>
<html>
<head>
<title>HTML i tag</title>
</head>
<body>
   <h1>
      Products
   </h1>
   <p>The products includes Clothing, Accessories and Furniture to be delivered by <i>FDX</i> couriers.</p>
</body>
</html>

출력

HTML  i  태그

위의 예에서

태그를 사용하여 콘텐츠를 추가했습니다 −

<p>The products includes Clothing, Accessories and Furniture to be delivered by <i>FDX</i> couriers.</p>

위의 태그를 −

로 설정했습니다.
<i>FDX</i>