<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Birdwatching</title>
    <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300%7CCinzel+Decorative:700" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
  </head>

  <body>
      <header>
        <h1>Birdwatching</h1>
        <img src="dove.png" alt="a simple dove logo">
        <nav>
          <ul>
            <li><span>Home</span></li>
            <li><a href="#">Get started</a></li>
            <li><a href="#">Photos</a></li>
            <li><a href="#">Gear</a></li>
            <li><a href="#">Forum</a></li>
          </ul>
        </nav>
      </header> 
                
      <main>
        <article>
          <h2>Welcome</h2>
          <p>
            Welcome to our fake birdwatching site. If this were a real site, it would be the ideal place to come
            to learn more bout birdwatching, whether you are a beginner looking to learn how to get into 
            birding, or an expert wanting to share ideas, tips, and photos with other like-minded people.
          </p>  
          <p>
            So don't waste time! Get what you need, then turn off that computer and get out into 
            the great outdoors!
          </p>
        </article>
        <aside>
          <h2>Favourite photos</h2>          
          <a href="favorite-1.jpg"><img src="favorite-1_th.jpg"
            alt="Small black bird, black claws, long black slender beak, links to larger version of the image"></a>
          <a href="favorite-2.jpg"><img src="favorite-2_th.jpg"
            alt="Top half of a pretty bird with bright blue plumage on neck, light colored beak, blue headdress, links to larger version of the image"></a>
          <a href="favorite-3.jpg"><img src="favorite-3_th.jpg"
            alt="Top half of a large bird with white plumage, very long curved narrow light colored break, links to larger version of the image"></a>
          <a href="favorite-4.jpg"><img src="favorite-4_th.jpg"
            alt="Large bird, mostly white plumage with black plumage on back and rear, long straight white beak, links to larger version of the image"></a>
        </aside>
      </main>
      
      <footer>     
          <p>
            This fake website example is CC0 — any part of this code may be reused in any way you wish. 
            Original example written by Chris Mills, 2016.
          </p>          
          <p>
            <a href="http://game-icons.net/lorc/originals/dove.html">Dove icon</a> by Lorc.
          </p>        
      </footer>
  </body>
</html>

 

도움 받은 곳

https://discourse.mozilla.org/t/structuring-a-page-of-content-assessment/24678

 
 
찾아볼 것 -> rgba (css 속성 배우면서 찾기)
 
 빨간색 구성 요소가 16진수 0xrr이고, 녹색 구성 요소가 0xgg이고, 파란색 구성 요소가 0xbb인 색상을 지정합니다. 알파 채널은 0xaa로 지정됩니다. 이 값이 낮을수록 색상이 더 투명해집니다.(MDN)
 
 
 
 
 
깨달은 것 : img 요소에는 alt 속성 필수
 

 

'HTML > MDN 평가' 카테고리의 다른 글

MDN - Mozilla splash page  (0) 2022.10.15
MDN - Multimedia and embedding  (0) 2022.10.13
MDN - Media/embedding  (0) 2022.10.12
MDN - Marking up a letter  (0) 2022.10.12
MDN - Advanced HTML text  (0) 2022.10.11

Task1 풀이 

<body>
   <h1>Advanced HTML Animals</h1>
    <dl>
        <dt>Llama</dt>
        <dd>
            Tall, wooly quadruped, pointy ears. Sometimes rideable, 
            but grumpy and spits a lot. Big fan of list items.
        </dd>
        <dt>Anaconda</dt>
        <dd>
            A very large constrictor snake; travels rapidly by way of anchors to sneak up on his prey.
        </dd>
        <dt>Hippopotamus</dt>
        <dd>His description is bottomless.</dd>
    </dl> 
</body>

 

 

Task2 풀이

<body>
	<h1>Advanced text semantics</h1>
    
    <p>
         Let's start with a quote:
    </p>
    
    <blockquote cite="https://developer.mozilla.org/en-US/docs/Learn/Accessibility">
        <p>
            By default, <abbr title="Hypertext Markup Language">HTML</abbr> 
            is accessible, if used correctly.
        </p>
    </blockquote>
    
    <p>
        <abbr title="Cascading Style Sheets">CSS</abbr> 
        can also be used to make web pages more, or less, accessible.
    </p>
    
    <p>
        Chemical Formulae: H<sub>2</sub>O (Water), 
        C<sub>2</sub>H<sub>6</sub>O (Ethanol).
    </p>
    
    <p>
        Dates: <time datetime="2019-12-25">December 25<sup>th</sup> 2019</time> (Christmas Day),
        <time datetime="2019-11-02">November 2<sup>nd</sup> 2019</time> <span lang="es">(Día de los Muertos)</span>.
    </p>
</body>

 

도움 받은 곳

https://discourse.mozilla.org/t/assessment-wanted-for-advanced-html-text-1-and-2-skill-test/84269

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang

 

깨달은 것

1. 파일에서 쓰인 주된 언어와 다른 언어를 쓸 경우, 요소로 묶어서 lang 속성 부여하기 

2. span과 div는 의미가 없는 요소이기 때문에 사용 자제하기

3. <i> : 외래어, 분류학적 명칭, 전문 용어, 생각 등 전통적으로 기울임꼴로 전달되는 의미를 전달하는 데 사용된다. (MDN)

 

'HTML > MDN 평가' 카테고리의 다른 글

MDN - Mozilla splash page  (0) 2022.10.15
MDN - Multimedia and embedding  (0) 2022.10.13
MDN - Media/embedding  (0) 2022.10.12
MDN - Marking up a letter  (0) 2022.10.12
MDN - Structuring a page of content  (0) 2022.10.12

+ Recent posts