차례:

비디오: HTML - 이미지 : img (칠월 2024)

비디오: HTML - 이미지 : img (칠월 2024)
Anonim

웹 사이트 또는 전자 메일에 로고를 추가하려면 간단한 HTML을 사용하여 이미지를 삽입하면됩니다. 로고를 추가하면 온라인 게시 작업을 훨씬 전문적으로 수행 할 수 있으며 기본 코드를 암기하면 다른 로고와 이미지를 파일에 쉽게 추가 할 수 있습니다. 디자인이나 파일에 로고를 삽입하려면 HTML을 사용하여 웹 친화적 인 로고를 만드는 방법이 있습니다.

1 단계

로고 파일을 찾습니다. 로고 이미지의 파일 위치와 확장자가 필요하므로 코드에 삽입 할 수 있습니다.

2 단계

단어 편집기를 엽니 다. 메모장이나 다른 워드 프로세싱 소프트웨어를 열어 코드 작성을 시작하십시오.

3 단계

이미지 파일을 삽입하는 코드를 작성하십시오. 유형

'.

Step 4

Insert 'alt tag' information. This is valuable for the search engines and users who cannot read images. This information can include your company name or simply the message of your logo. You'll need to add this immediately after the 'img src' section and insert the text around two apostrophes.

Step 5

Indicate height and width of your image. Height and width information go immediately after your alt tag attribute and are also wrapped around apostrophes. You will need to write the following: width = ' (number='' of='' pixels)'='' height='(number of pixels)'>

6 단계

경계 정보를 표시 한 다음 태그를 닫습니다. 테두리 두께는 모든 로고에 필수는 아니지만 기본값은 대개 '0'입니다. 다음을 작성해야합니다 : border = "0"그리고 다른 '>'기호로 태그를 닫으십시오.

7 단계

파일을 .htm 확장자로 저장하십시오. 디자인 프로젝트에 사용할 수있는 HTML 파일입니다.

HTML을 사용하여 로고 삽입하는 방법