element. Although the element is named , it is comprehensive and encompasses calendar dates, times of the day, time zones, and any combination of the three."> element. Although the element is named , it is comprehensive and encompasses calendar dates, times of the day, time zones, and any combination of the three."> Upload Log in My presentations Profile Feedback Log out Search Log in Log in Auth with social network: Registration Forgot your password? Download presentation We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you! Buttons: Presentation is loading. Please wait. Times and Dates. Published byAlisha Foster Modified over 5 years ago Embed Download presentation Copy to clipboard Similar presentations More Presentation on theme: "Times and Dates."— Presentation transcript: 1 Times and Dates 2 Times and Dates on the InternetWhen you encounter a web page that mentions a date and time, such as "9:00 on June 5", have you ever wondered: 9:00am or 9:00pm? Is it June 5 of the current year? Next year? Or is this an outdated page and the date is from some year in the past? Which time zone? Search engines and screen readers suffer from the same problem, often unable to determine these basic factors. To help solve this issue, HTML5 has introduced the <time> element. Although the element is named <time>, it is comprehensive and encompasses calendar dates, times of the day, time zones, and any combination of the three. 3 Using <time> for Calendar DatesThe first step to allow search engines and screen readers to understand dates and times was to create a standard format to be used consistently by creators of websites. HTML5 has done this. For calendar dates, acceptable formats are: YYYY-MM-DD (Year-Month-Date) YYYY-MM (Year-Month) [intentionally does not specify a day] MM-DD (Month-Day) [intentionally does not specify a year] Here are actual examples, using each format: <p>The commencement ceremony will be held on <time> </time>.</p> <p>The Rio Olympics will take place in <time> </time>.</p> <p>Independence Day is observed each year on <time>07-04</time>.</p> The commencement ceremony will be held on The Rio Olympics will take place in Independence Day is observed each year on 4 Using <time> for Times of the DayFor times, acceptable formats are: HH:MM (Hour:Minute) HH:MM:SS (Hour:Minute:Second) Here are specific examples: <p>The reception begins at <time>09:30</time>.</p> <p>The lightning struck the tower last night at exactly <time>23:13:09</time>.</p> The reception begins at 09:30. The lightning struck the tower last night at exactly 23:13:09. HTML5 solves the AM vs. PM issue by using military time. Thus, nine in the morning is 09:00 and nine in the evening is 21:00. Midnight is represented as 00:00. Be careful not to omit a leading zero in dates and time. It's 09:00 and , not 9:00 or 5 Combining a Date and TimeHTML5 lets us define a specific time of day on a specific calendar date, but we are then also required to designate a time zone. The format is: YYYY-MM-DDTHH:MM:SS(+/-)ZZ:ZZ Looks confusing, but it's not that complicated: <p>The festivities begin in Times Square at <time> T22:00-05:00</time>.</p> <p>We have dinner reservations in Beijing at <time> T20:30+08:00</time>.</p> The festivities begin in Times Square at T22:00-05:00. We have dinner reservations in Beijing at T20:30+08:00. By including a time zone declaration, a specific point in time can be defined and understood, no matter where the observer is located. Time zones are based on their relation to the local time in Greenwich, England. Locations east of Greenwich are ahead (+) and those west are behind (-). In our examples above, New York City is five hours behind (-05:00) and Beijing, China is eight hours ahead (+08:00). 6 The datetime AttributeBy now, you probably noticed that while the examples we used might keep the search engines happy, the same cannot be said for our web visitors! No one wants to read content on a web page presented like this: The festivities begin in Times Square at T22:00-05:00. HTML5 offers us a great solution. By using the datetime attribute, we can continue to supply the format we just learned to search engines and screen readers, but then provide something more friendly to our readers. The format is: <time datetime="machine-readable format">Our own description</time> Let's revisit all our prior examples but now put the <datetime> feature to work. 7 Examples of datetime <p>The commencement ceremony will be held on <time datetime=" ">May 16, 2015</time>.</p> <p>The Rio Olympics will take place in <time datetime=" ">August of 2016</time>.</p> <p>Independence Day is observed each year on <time datetime="07-04">July the Fourth</time>.</p> <p>The reception begins at <time datetime="09:30">9:30 in the morning.</time></p> <p>The lightning struck the tower last night at exactly <time datetime="23:13:09">nine seconds past 11:13PM.</time></p> <p>The festivities begin in Times Square at <time datetime=" T22:00-05:00">10pm on New Year's Eve.</time></p> <p>We have dinner reservations in Beijing at <time datetime=" T20:30+08:00">8:30pm on August 2nd, 2015.</time></p> The commencement ceremony will be held on May 16, 2015. The Rio Olympics will take place in August of 2016. Independence Day is observed each year on July the Fourth. The reception begins at 9:30 in the morning. The lightning struck the tower last night at exactly nine seconds past 11:13PM. The festivities begin in Times Square at 10pm on New Year's Eve. We have dinner reservations in Beijing at 8:30pm on August 2nd, 2015. These are much better, as visitors will not even see the machine-readable format. 8 Using datetime Let's go back to our book review page and add a <time> element and datetime attribute: <h2>My First Book Review</h2> <hgroup> <h3>Frankenstein:</h3> <h4>or, The Modern Prometheus</h4> </hgroup> <p>Posted: <time datetime=" ">FRI March 15, 2013</time></p> <p>I had seen the movie... ... Use the <time> element only with specific dates or times, not with vague descriptions like "around five in the afternoon" or "every Tuesday" or "sometime next week." Download ppt "Times and Dates." Similar presentations Introduction to HTML5. History of HTML HTML first published HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0 HTML Neal Stublen Content Models Metadata content Data not necessarily presented on the page ○ title, link, meta, style Flow content. REFERENCING INTERNET WEBSITES (MLA). Today we are going to learn how to write MLA style references or citations for websites. Hello. I am a tarantula. Times / Time Intervals Timetables TIMESThere are two ways of giving the time. (i) 12-hour time which uses am, pm, noon & midnight. Each day begins at midnight. Time 1 day = 24 hours 1 hour = 60 minutes 1 minute = 60 seconds 1 year Executive Host Upload on the Ring of Honor website 1.Log into the ROH Website 2.Under Division Representative click “Executive Host Upload” 3.At the screen. Measuring Time. Time Zones. LONGITUDE (to measure East-West), is all a matter of time… Thanks to: Hey! Singapore TCS 5 for the educational show on crop circles The Egyptian Mummy CD-ROM Microsoft Encarta Encyclopedia 99 (info) The World. So – You want to learn how to put an article onto the state website. (Note: If you have not done so, you will need to review the web training provided. Introduction to HTML5. History of HTML HTML first published – Tim Berners-Lee HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0. New Semantic Elements (Part 3). The Element The official specification for states that it “represents the heading of a section. The element is used to. Heady Hill Surgery PPG Survey Here are the results of the survey carried out at the surgery. Thank you to all who took the time to fill one in. Research Using Ebooks via the Media Center. Research usingEbooks. Measuring Elapsed Time. Units of Time 1 minute (min) = 60 seconds (s) 1 hour (h) = 60 minutes 1 day = 24 h 1 week (wk) = 7 days 1 year is about 365 days. Teaching Time. This evening we will be… showing how maths strategies develop across the year groups show you the school’s calculations policy and how. What time is it ? in the morning / in the afternoon in the evening 2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface. CONFIDENTIAL1 Good Afternoon! Today we will be learning about Calendar and Years Let’s warm up : Complete the conversion tables: Hours478 Minutes 1) Calculate. Similar presentations To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy. I agree. Ads by Google
Download presentation
We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Buttons:
Presentation is loading. Please wait.
Published byAlisha Foster Modified over 5 years ago
1 Times and Dates
2 Times and Dates on the InternetWhen you encounter a web page that mentions a date and time, such as "9:00 on June 5", have you ever wondered: 9:00am or 9:00pm? Is it June 5 of the current year? Next year? Or is this an outdated page and the date is from some year in the past? Which time zone? Search engines and screen readers suffer from the same problem, often unable to determine these basic factors. To help solve this issue, HTML5 has introduced the <time> element. Although the element is named <time>, it is comprehensive and encompasses calendar dates, times of the day, time zones, and any combination of the three.
3 Using <time> for Calendar DatesThe first step to allow search engines and screen readers to understand dates and times was to create a standard format to be used consistently by creators of websites. HTML5 has done this. For calendar dates, acceptable formats are: YYYY-MM-DD (Year-Month-Date) YYYY-MM (Year-Month) [intentionally does not specify a day] MM-DD (Month-Day) [intentionally does not specify a year] Here are actual examples, using each format: <p>The commencement ceremony will be held on <time> </time>.</p> <p>The Rio Olympics will take place in <time> </time>.</p> <p>Independence Day is observed each year on <time>07-04</time>.</p> The commencement ceremony will be held on The Rio Olympics will take place in Independence Day is observed each year on
4 Using <time> for Times of the DayFor times, acceptable formats are: HH:MM (Hour:Minute) HH:MM:SS (Hour:Minute:Second) Here are specific examples: <p>The reception begins at <time>09:30</time>.</p> <p>The lightning struck the tower last night at exactly <time>23:13:09</time>.</p> The reception begins at 09:30. The lightning struck the tower last night at exactly 23:13:09. HTML5 solves the AM vs. PM issue by using military time. Thus, nine in the morning is 09:00 and nine in the evening is 21:00. Midnight is represented as 00:00. Be careful not to omit a leading zero in dates and time. It's 09:00 and , not 9:00 or
5 Combining a Date and TimeHTML5 lets us define a specific time of day on a specific calendar date, but we are then also required to designate a time zone. The format is: YYYY-MM-DDTHH:MM:SS(+/-)ZZ:ZZ Looks confusing, but it's not that complicated: <p>The festivities begin in Times Square at <time> T22:00-05:00</time>.</p> <p>We have dinner reservations in Beijing at <time> T20:30+08:00</time>.</p> The festivities begin in Times Square at T22:00-05:00. We have dinner reservations in Beijing at T20:30+08:00. By including a time zone declaration, a specific point in time can be defined and understood, no matter where the observer is located. Time zones are based on their relation to the local time in Greenwich, England. Locations east of Greenwich are ahead (+) and those west are behind (-). In our examples above, New York City is five hours behind (-05:00) and Beijing, China is eight hours ahead (+08:00).
6 The datetime AttributeBy now, you probably noticed that while the examples we used might keep the search engines happy, the same cannot be said for our web visitors! No one wants to read content on a web page presented like this: The festivities begin in Times Square at T22:00-05:00. HTML5 offers us a great solution. By using the datetime attribute, we can continue to supply the format we just learned to search engines and screen readers, but then provide something more friendly to our readers. The format is: <time datetime="machine-readable format">Our own description</time> Let's revisit all our prior examples but now put the <datetime> feature to work.
7 Examples of datetime <p>The commencement ceremony will be held on <time datetime=" ">May 16, 2015</time>.</p> <p>The Rio Olympics will take place in <time datetime=" ">August of 2016</time>.</p> <p>Independence Day is observed each year on <time datetime="07-04">July the Fourth</time>.</p> <p>The reception begins at <time datetime="09:30">9:30 in the morning.</time></p> <p>The lightning struck the tower last night at exactly <time datetime="23:13:09">nine seconds past 11:13PM.</time></p> <p>The festivities begin in Times Square at <time datetime=" T22:00-05:00">10pm on New Year's Eve.</time></p> <p>We have dinner reservations in Beijing at <time datetime=" T20:30+08:00">8:30pm on August 2nd, 2015.</time></p> The commencement ceremony will be held on May 16, 2015. The Rio Olympics will take place in August of 2016. Independence Day is observed each year on July the Fourth. The reception begins at 9:30 in the morning. The lightning struck the tower last night at exactly nine seconds past 11:13PM. The festivities begin in Times Square at 10pm on New Year's Eve. We have dinner reservations in Beijing at 8:30pm on August 2nd, 2015. These are much better, as visitors will not even see the machine-readable format.
8 Using datetime Let's go back to our book review page and add a <time> element and datetime attribute: <h2>My First Book Review</h2> <hgroup> <h3>Frankenstein:</h3> <h4>or, The Modern Prometheus</h4> </hgroup> <p>Posted: <time datetime=" ">FRI March 15, 2013</time></p> <p>I had seen the movie... ... Use the <time> element only with specific dates or times, not with vague descriptions like "around five in the afternoon" or "every Tuesday" or "sometime next week."
Introduction to HTML5. History of HTML HTML first published HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0 HTML
Neal Stublen Content Models Metadata content Data not necessarily presented on the page ○ title, link, meta, style Flow content.
REFERENCING INTERNET WEBSITES (MLA). Today we are going to learn how to write MLA style references or citations for websites. Hello. I am a tarantula.
Times / Time Intervals Timetables TIMESThere are two ways of giving the time. (i) 12-hour time which uses am, pm, noon & midnight. Each day begins at midnight.
Time 1 day = 24 hours 1 hour = 60 minutes 1 minute = 60 seconds 1 year
Executive Host Upload on the Ring of Honor website 1.Log into the ROH Website 2.Under Division Representative click “Executive Host Upload” 3.At the screen.
Measuring Time.
Time Zones.
LONGITUDE (to measure East-West), is all a matter of time…
Thanks to: Hey! Singapore TCS 5 for the educational show on crop circles The Egyptian Mummy CD-ROM Microsoft Encarta Encyclopedia 99 (info) The World.
So – You want to learn how to put an article onto the state website. (Note: If you have not done so, you will need to review the web training provided.
Introduction to HTML5. History of HTML HTML first published – Tim Berners-Lee HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 XHTML 2.0.
New Semantic Elements (Part 3). The Element The official specification for states that it “represents the heading of a section. The element is used to.
Heady Hill Surgery PPG Survey Here are the results of the survey carried out at the surgery. Thank you to all who took the time to fill one in.
Research Using Ebooks via the Media Center. Research usingEbooks.
Measuring Elapsed Time. Units of Time 1 minute (min) = 60 seconds (s) 1 hour (h) = 60 minutes 1 day = 24 h 1 week (wk) = 7 days 1 year is about 365 days.
Teaching Time. This evening we will be… showing how maths strategies develop across the year groups show you the school’s calculations policy and how.
What time is it ? in the morning / in the afternoon in the evening
2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface.
CONFIDENTIAL1 Good Afternoon! Today we will be learning about Calendar and Years Let’s warm up : Complete the conversion tables: Hours478 Minutes 1) Calculate.
Similar presentations