{"id":4781,"date":"2025-06-03T13:49:46","date_gmt":"2025-06-03T17:49:46","guid":{"rendered":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/?post_type=part&#038;p=4781"},"modified":"2025-08-13T12:47:47","modified_gmt":"2025-08-13T16:47:47","slug":"html-and-css","status":"publish","type":"part","link":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/part\/html-and-css\/","title":{"raw":"HTML and CSS","rendered":"HTML and CSS"},"content":{"raw":"Learning about the basics of accessible HTML (HyperText Markup Language) and CSS (Cascading Style Sheets) is essential for anyone attempting to customize the design of their book.\r\n\r\nCreating accessible digital content in Pressbooks ensures an inclusive learning experience. Pressbooks supports accessibility through the CSS used in its preset themes and by automatically generating semantic HTML when content is created in the visual editor, which is why those using preset themes may choose to skip over this chapter. However, for anyone customizing the selected theme's design, implementing accessible HTML and CSS should be part of the process.\r\n\r\nThe quality of your web content matters to downstream users, namely instructors and their Pressbooks assistants. A future assistant working in your Pressbooks project and an instructor creating their own adaptation may need to make edits, which is harder to do if the code is messy. Your code should be readable, following established standards and best practices for anyone with basic web development skills.\r\n\r\nThe quality of your customized HTML and CSS also impacts the end users, allowing for people of diverse abilities to understand your book. To accommodate different accessibility needs, assistive technologies such as screen readers, specialized keyboards, and speech recognition software are used frequently. These tools depend on well-structured code to accurately interpret and present information, ensuring that digital content is accessible to everyone.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<h2 class=\"textbox__title\">Are You Considering Using An Open Textbook In Your Courses?<\/h2>\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\n&nbsp;\r\n<ul>\r\n \t<li>If so, you may be interested in our <a href=\"https:\/\/opentextbooks.concordia.ca\/oerbydiscipline2\/\" target=\"_blank\" rel=\"noopener\"><em>OER Discipline Resource Guide: Concordia University Library\u20142nd edition<\/em><\/a>, which will help you learn about available open textbooks, often in Pressbooks form.<\/li>\r\n \t<li>Learn about current and forthcoming <a href=\"https:\/\/www.concordia.ca\/library\/oer\/projects.html\" target=\"_blank\" rel=\"noopener\">open-textbook projects<\/a>.<\/li>\r\n \t<li>You might also be interested in applying for an <a href=\"https:\/\/www.concordia.ca\/library\/oer\/adopt-create\/oer-grants.html\" target=\"_blank\" rel=\"noopener\">open-textbook grant<\/a>.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>","rendered":"<p>Learning about the basics of accessible HTML (HyperText Markup Language) and CSS (Cascading Style Sheets) is essential for anyone attempting to customize the design of their book.<\/p>\n<p>Creating accessible digital content in Pressbooks ensures an inclusive learning experience. Pressbooks supports accessibility through the CSS used in its preset themes and by automatically generating semantic HTML when content is created in the visual editor, which is why those using preset themes may choose to skip over this chapter. However, for anyone customizing the selected theme&#8217;s design, implementing accessible HTML and CSS should be part of the process.<\/p>\n<p>The quality of your web content matters to downstream users, namely instructors and their Pressbooks assistants. A future assistant working in your Pressbooks project and an instructor creating their own adaptation may need to make edits, which is harder to do if the code is messy. Your code should be readable, following established standards and best practices for anyone with basic web development skills.<\/p>\n<p>The quality of your customized HTML and CSS also impacts the end users, allowing for people of diverse abilities to understand your book. To accommodate different accessibility needs, assistive technologies such as screen readers, specialized keyboards, and speech recognition software are used frequently. These tools depend on well-structured code to accurately interpret and present information, ensuring that digital content is accessible to everyone.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<h2 class=\"textbox__title\">Are You Considering Using An Open Textbook In Your Courses?<\/h2>\n<\/header>\n<div class=\"textbox__content\">\n<p>&nbsp;<\/p>\n<ul>\n<li>If so, you may be interested in our <a href=\"https:\/\/opentextbooks.concordia.ca\/oerbydiscipline2\/\" target=\"_blank\" rel=\"noopener\"><em>OER Discipline Resource Guide: Concordia University Library\u20142nd edition<\/em><\/a>, which will help you learn about available open textbooks, often in Pressbooks form.<\/li>\n<li>Learn about current and forthcoming <a href=\"https:\/\/www.concordia.ca\/library\/oer\/projects.html\" target=\"_blank\" rel=\"noopener\">open-textbook projects<\/a>.<\/li>\n<li>You might also be interested in applying for an <a href=\"https:\/\/www.concordia.ca\/library\/oer\/adopt-create\/oer-grants.html\" target=\"_blank\" rel=\"noopener\">open-textbook grant<\/a>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"parent":0,"menu_order":8,"template":"","meta":{"pb_part_invisible":false,"pb_part_invisible_string":""},"contributor":[],"license":[],"class_list":["post-4781","part","type-part","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/pressbooks\/v2\/parts\/4781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/pressbooks\/v2\/parts"}],"about":[{"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/wp\/v2\/types\/part"}],"version-history":[{"count":11,"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/pressbooks\/v2\/parts\/4781\/revisions"}],"predecessor-version":[{"id":6345,"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/pressbooks\/v2\/parts\/4781\/revisions\/6345"}],"wp:attachment":[{"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/wp\/v2\/media?parent=4781"}],"wp:term":[{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/wp\/v2\/contributor?post=4781"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/opentextbooks.concordia.ca\/pressbooksuserguide\/wp-json\/wp\/v2\/license?post=4781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}