{ "course": "Web_Programming", "course_id": "CO3049", "schema_version": "material.v1", "slides": [ { "page_index": 0, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_001.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_001.png", "page_index": 0, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:09+07:00" }, "raw_text": "Introduction to BK TP.HCM Presented by Nguyén Du'c Thai Ho Chi Minh City University of Technology" }, { "page_index": 1, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_002.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_002.png", "page_index": 1, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:14+07:00" }, "raw_text": "Outline Introduction Creating a Website Web Page Example HTML Tags Structural Elements title Element meta Element HTML Attributes body Elements: hr, p, br, div History of HTML BK 2 TP.HCM" }, { "page_index": 2, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_003.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_003.png", "page_index": 2, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:20+07:00" }, "raw_text": "Creating a Website A website is a collection of related web pages that are normally stored on a single web server computer. A web server: refer to the web page-accessing software that runs on the web server computer To create a website, you'll need these things: (1) a text editor, (2) a an upload/publishing tool (3) a web hosting service, (4) a browser. BK 3 TP.HCM" }, { "page_index": 3, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_004.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_004.png", "page_index": 3, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:26+07:00" }, "raw_text": "Text Editor Plain text editor: such as Microsoft's Notepad. There are many different text editors, with varying degrees of functionality. Another feature common to all web authoring tools is It stands for \"What You See Is What You Get\". WYSIWYG means that as you're editing your text, you can see what your text will look like after it's eventually uploaded to a website. Good Text Editors: Dreamweaver, Sublime Text 3 BK 4 IP.HCM" }, { "page_index": 4, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_005.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_005.png", "page_index": 4, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:33+07:00" }, "raw_text": "WYSIWYG Editor 1 {} u B s Normal Hello World! HTML Markdown Editor is read-only

Hello World !

BK 5 TP.HCM" }, { "page_index": 5, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_006.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_006.png", "page_index": 5, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:39+07:00" }, "raw_text": "Upload / Publishing Tools Publishing means that you upload your web page to a web server computer so other users can access it on the Web. Some IDEs (Integrated Development Environment), like Dreamweaver, provide built-in uploading capabilities but other IDEs, like Visual Studio, do not. You could use a separate file upload tool, example WinSCP BK 6 IP.HCM" }, { "page_index": 6, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_007.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_007.png", "page_index": 6, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:44+07:00" }, "raw_text": "Web Hosting Service Need to have a web server computer on which to store the uploaded files. service in place. BK 7 TP.HCM" }, { "page_index": 7, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_008.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_008.png", "page_index": 7, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:50+07:00" }, "raw_text": "Web Hosting Service (2) user browser browser computers web page web page file storage and FTP server web server computer retrieval web hosting service file upload web web page file file developer's authoring upload computer tool tool BK 8 TP.HCM" }, { "page_index": 8, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_009.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_009.png", "page_index": 8, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:35:55+07:00" }, "raw_text": "Browsers A browser is a piece of software that enables a user to retrieve and view a web page. Google Chrome Mozilla Firefox Internet Explorer Safari (for Mac devices) Opera (for Android devices) BK 9 TP.HCM" }, { "page_index": 9, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_010.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_010.png", "page_index": 9, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:00+07:00" }, "raw_text": "Web Page Example X 4 index.htm x C 4 file:///C:/Users/myuser/Desktop/index.htm My First Heading My first paragraph BK 10 TP.HCM" }, { "page_index": 10, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_011.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_011.png", "page_index": 10, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:04+07:00" }, "raw_text": "HTML HTML = HyperText Markup Language HTML BK 11 TP.HCM" }, { "page_index": 11, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_012.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_012.png", "page_index": 11, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:07+07:00" }, "raw_text": "HTML Tags Content goes here... Start tag End tag BK 12 TP.HCM" }, { "page_index": 12, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_013.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_013.png", "page_index": 12, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:10+07:00" }, "raw_text": "Structural Elements ... ... BK 13 IP.HCM" }, { "page_index": 13, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_014.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_014.png", "page_index": 13, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:16+07:00" }, "raw_text": "HTML Structure Declaration of HTML5 document root element of an HTML paae meta information about the Page Title</titl HTML page </head> element defines a large heading <body> container for all the visible <h1>This is a Heading contents <p>This is a paragraph.</p> </body> </html> element defines a paragraph BK TP.HCM" }, { "page_index": 14, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_015.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_015.png", "page_index": 14, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:20+07:00" }, "raw_text": "HTML is Not Case Sensitive same as <p> The HTML standard does not require lowercase tags but W3C recommends lowercase in HTML and demands lowercase for stricter document types like XHTML BK 15 TP.HCM" }, { "page_index": 15, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_016.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_016.png", "page_index": 15, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:23+07:00" }, "raw_text": "head Element The head element contains two types of elements- meta and title BK 16 TP.HCM" }, { "page_index": 16, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_017.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_017.png", "page_index": 16, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:27+07:00" }, "raw_text": "title Element First element in the head section The text between the <title> and tags will This title text is accessed when web pages are bookmarked and printed. BK 17 TP.HCM" }, { "page_index": 17, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_018.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_018.png", "page_index": 17, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:33+07:00" }, "raw_text": "title Element (cont'd) Search engines, such as Google, use the title text to help determine keyword relevance and even display the title text on the results page of a search. A descriptive title that includes the website or organization name is a crucial component for establishing a brand or presence on the Web. BK 18 TP.HCM" }, { "page_index": 18, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_019.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_019.png", "page_index": 18, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:37+07:00" }, "raw_text": "meta Element The meta elements provide information about the web page There are many different types of meta elements- some you should always include, but most are just optional. The meta element: NO end tag. BK 19 TP.HCM" }, { "page_index": 19, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_020.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_020.png", "page_index": 19, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:41+07:00" }, "raw_text": "HTML Attributes HTML attributes provide additional information about HTML elements. All HTML elements can have attributes Attributes are always specified in the start tag Attributes usually come in name/value pairs like: name=\"value BK 20 TP.HCM" }, { "page_index": 20, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_021.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_021.png", "page_index": 20, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:46+07:00" }, "raw_text": "HTML Attributes (cont'd) Element Container elements: provide information between their start and end tags Void elements: have no end tags, so they can't provide information that way Void elements provide information using attributes. For example, charset is an attribute for a meta element: Most attributes have a value assigned to them. BK 21 IP.HCM" }, { "page_index": 21, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_022.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_022.png", "page_index": 21, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:50+07:00" }, "raw_text": "meta name Element Most of the meta elements use the name attribute to specify the type of information that's being provided. Common values for the meta name attribute are author, description, and keywords. Example: The name and content attributes go together. BK 22 IP.HCM" }, { "page_index": 22, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_023.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_023.png", "page_index": 22, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:54+07:00" }, "raw_text": "meta name Element (2) In the following examples, the name attribute uses the values \"description\" and \"keywords\": The meta description element and also the meta keywords element help web search engines find your web page. BK 23 TP.HCM" }, { "page_index": 23, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_024.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_024.png", "page_index": 23, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:36:59+07:00" }, "raw_text": "body Elements: hr, p, br, div
->horizontal line for a group of words, form a paragraph

...

(Whenever enclosed text is greater than one line, you should put the start and end tags (p, div) on separate lines and indent the enclosed text)
breakline
...
c division BK 24 TP.HCM" }, { "page_index": 24, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_025.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_025.png", "page_index": 24, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:04+07:00" }, "raw_text": "CSS Preview css property css value css property css value Kansas City Weather
BK 25 TP.HCM" }, { "page_index": 25, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_026.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_026.png", "page_index": 25, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:11+07:00" }, "raw_text": "History of HTML 1991 HTML first published 1995 HTML 2.0 After HTML 4.01 was released,focus shifted to XHTML and its stricter standards 1997 HTML 3.2 XHTML 2.0 had even stricter standards 1999 HTML 4.01 than 1.0, rejecting web pages that did not comply. It fell out of favor gradually and 2000 XHTML 1.0 was abandoned completely in 2009. 2002 HTML5 is much more tolerant and can XHTML 2.0 handle markup from all the prior versions. 2009 Though HTML5 was published officially in 2012, it 2012 HTML5 has been in development since 2004. 26 BK IP.HCM" }, { "page_index": 26, "chapter_num": 0, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_027.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_0/slide_027.png", "page_index": 26, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:15+07:00" }, "raw_text": "References W3 Schools - w3schools.com Web Programming with HTML5, CSS, and JavaScript - John Dean - Jones & Bartlett Publishers, 2019. BK 27 TP.HCM" }, { "page_index": 27, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_001.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_001.png", "page_index": 27, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:18+07:00" }, "raw_text": "Cascading Style Sheets BK (CSS) TP.HCM Presented by Nguyén Du'c Thai Ho Chi Minh City University of Technology" }, { "page_index": 28, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_002.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_002.png", "page_index": 28, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:24+07:00" }, "raw_text": "Outline Css Overview CSS Rules Example with Type Selectors and the Universal Selector CSS Syntax and Style Class Selectors ID Selectors span and div Elements Css Properties BK 2 TP.HCM" }, { "page_index": 29, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_003.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_003.png", "page_index": 29, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:29+07:00" }, "raw_text": "CSS Introduction Presentation refers to appearance and format. Css has concepts and basic syntax. CsS positions: Inline Internal External CsS properties for color, font, line height, borders paddina, margins, ... BK 3 IP.HCM" }, { "page_index": 30, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_004.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_004.png", "page_index": 30, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:34+07:00" }, "raw_text": "CSS Overview The W3C's philosophy: (1) HTML elements to specify a web page's content, (2) Css to specify a web page's appearance. CsS code is normally separated from web page content code Specifically, web page content code goes in the body container, whereas Css code could be inline, internal or external. BK 4 TP.HCM" }, { "page_index": 31, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_005.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_005.png", "page_index": 31, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:39+07:00" }, "raw_text": "(2) CSS Overview Why is that separation strategy a good thing? Because if you want to change the appearance of something, it's easy to find the Css code. The current version of CsS is CSs3, and all major In 2009, the W3C started work on CSS4. Css4 is not fully supported by the major browsers yet. BK 5 IP.HCM" }, { "page_index": 32, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_006.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_006.png", "page_index": 32, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:44+07:00" }, "raw_text": "CSS Rules CsS: applied to elements within a web page. Browsers determine which elements to apply the CSS rules to with the help of selectors. Different types of selectors. Type selectors: hr {width: 50%;} apply to all
elements Universal selector: {text-align: center;} affects only the elements that contain text BK 6 IP.HCM" }, { "page_index": 33, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_007.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_007.png", "page_index": 33, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:37:56+07:00" }, "raw_text": "CSS Rules - Illustration < !DOCTYPE : html> universal selector poem CSS values style> type selector {text-align: center; with one hr r {width: 50%;} element h2, p {font-style: italic; color: blue,} type selector CsS properties with comma- separated list of elements

Trees, by Joyce Kilmer


I think that I shall never see
A poem lovely as a t tree.

" }, { "page_index": 34, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_008.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_008.png", "page_index": 34, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:00+07:00" }, "raw_text": "CSS Syntax Syntax for the style container. It's legal to position it in the body container, but don't do it. Coding conventions suggest positioning it at the bottom of the head container BK 8 TP.HCM" }, { "page_index": 35, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_009.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_009.png", "page_index": 35, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:08+07:00" }, "raw_text": "CSS Style If there's more than one selector, use a comma and a space between each selector selector(s {propertyl:. value;, property2: value;} space no space Include a semicolon after every property-value pair space selector(s){ property1 : value ; property2: value; nclude a semicolon after every property-value pair property#: value; BK no space 9 TP.HCM" }, { "page_index": 36, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_010.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_010.png", "page_index": 36, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:14+07:00" }, "raw_text": "Class Selectors .red:{background-color: tomato; class selector

Paragraph goes here ...

BK 10 TP.HCM" }, { "page_index": 37, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_011.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_011.png", "page_index": 37, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:18+07:00" }, "raw_text": "ID Selectors #id-value: tproperty1 : : value; property2: value;} A D selector Amazon river ... BK 11 TP.HCM" }, { "page_index": 38, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_012.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_012.png", "page_index": 38, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:28+07:00" }, "raw_text": " span and div elements Halloween on t the River div Multiple class selectors for a cIass attribute's value
Corn maze: All you can eat pumpkins:$15" }, { "page_index": 39, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_013.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_013.png", "page_index": 39, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:32+07:00" }, "raw_text": "CSS Rule Priority Places Where CSS Rules Can Be Defined, Highest to Lowest Priority 1. In an element's sty1e attribute 2. In a sty1e element in the web page's head section 3. In an external file 4. In the settings defined by a user for a particular browser installation. 5. In the browser's native default settings BK 13 TP.HCM" }, { "page_index": 40, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_014.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_014.png", "page_index": 40, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:40+07:00" }, "raw_text": "Internal Style (CSS in Entire Web Page) Mark Twain Quotes class attribute

Mark r Twain Quotes It is better to keep your mouth closed and let people think you are a fool than to open it and remove all doubt.
first, then you can distort them as you please.
Never put off till tomorrow what you can do the day after tomorrow.
" }, { "page_index": 41, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_015.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_015.png", "page_index": 41, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:45+07:00" }, "raw_text": "External Style (CSS in A Separated File) This 1ink element connects the web page to its external CSS file. Halloween on the River BK 15 TP.HCM" }, { "page_index": 42, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_016.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_016.png", "page_index": 42, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:38:54+07:00" }, "raw_text": "Css Properties x - css reference-CssMCx FACO ... 4 A font-size padding-block-start font-size-adjust padding-bottom :active font-stretch padding-inline-end additive-symbols (@counter-style font-stretch @font-face) padding-inline-start ::after:after) font-style padding-left align-content font-style(@font-face) padding-right align-items font-synthesis padding-top align-self all font-variant @page font-variant (@font-face) page-break-after font-variant-alternates page-break-before animation font-variant-caps animation-delay page-break-inside T BK 16 TP.HCM" }, { "page_index": 43, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_017.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_017.png", "page_index": 43, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:00+07:00" }, "raw_text": "CSS Properties Color properties color, background color Font properties font-style, font-variant, font-weight, font-size, font-family, font Text properties line-height, text-align, text-decoration, text-transform, text-indent Border properties border-bottom, border-bottom-color, . Margin and margin-bottom, margin-left, .. oadding properties padding-bottom, padding-left, .. BK 17 TP.HCM" }, { "page_index": 44, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_018.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_018.png", "page_index": 44, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:06+07:00" }, "raw_text": "Color Properties The color property specifies the color of an element's text. The background-color property specifies the background color of an element. You can specify a color value using one of five different formats: color name-for example, red RGB valuered, green, and blue RGBA value-red, green, and blue, + amount of opacity HsL value-hue, saturation, and lightness HsLA value-hue, saturation, and lightness, + amount of opacity BK 18 IP.HCM" }, { "page_index": 45, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_019.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_019.png", "page_index": 45, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:13+07:00" }, "raw_text": "Color Names The CSs3 specification defines 147 color names, and the major browsers support all those colors. color name

Mackay Hall's is S roof dark slate gray

BK 19 TP.HCM" }, { "page_index": 46, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_020.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_020.png", "page_index": 46, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:19+07:00" }, "raw_text": "RGB Values for Color RGB stands for red, green, and blue. To specify an amount of a color, you can use a percentage, an integer, or a hexadecimal number Allowable ranges for each technique percentage-0% to 100% for each color integer-0 to 255 for each color hexadecimal-00 to FF for each color BK 20 TP.HCM" }, { "page_index": 47, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_021.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_021.png", "page_index": 47, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:26+07:00" }, "raw_text": "Opacity Opacity determines how opaque the color is, where It's the opposite of transparency. If the opacity value is 100%, that means the color is completely opaque, and if there is content behind the color, that content gets covered up. At the other extreme, if the opacity value is 0%, that means the color is completely transparent. rgba(red-integer, green-integer, blue-integer, opacity-number-between-0-and-1) rgba(red-percent, green-percent, blue-percent, opacity-number-between-0-and-1) BK 21 IP.HCM" }, { "page_index": 48, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_022.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_022.png", "page_index": 48, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:36+07:00" }, "raw_text": "Using Colors - Example Opacity Example opacity property

This line uses background-color: rgb(255,255,0) ;

This line uses background-color: rgba(255,255,0,.4) ;

This line uses background-color: rgb(255,255,0) ; opacity: .4;

BK 22 TP.HCM" }, { "page_index": 49, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_023.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_023.png", "page_index": 49, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:40+07:00" }, "raw_text": "Font Properties font-style, font-variant, font-weight, font-size, font-family BK 23 TP.HCM" }, { "page_index": 50, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_024.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_024.png", "page_index": 50, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:48+07:00" }, "raw_text": "font-style font-style Vaues Description normal Upright characters (not slanted) oblique Use the same font as the current font, but slant the characters italic Use a cursive font (which tends to be slanted and is supposed to look like handwriting) BK 24 TP.HCM" }, { "page_index": 51, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_025.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_025.png", "page_index": 51, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:51+07:00" }, "raw_text": "font-variant font-variant Values Description normal Display lowercase letters normally small-caps Display lowercase letters with smaller-font uppercase letters BK 25 TP.HCM" }, { "page_index": 52, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_026.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_026.png", "page_index": 52, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:39:58+07:00" }, "raw_text": "font-weight font-weight Values Description normal, bold It's up to the browser to determine a font weight that can be described as normal or bold. bolder, lighter Using a value of bo1der causes its targeted text to have thicker characters than the text that surrounds it. Using a value of 1ighter causes its targeted text to have thinner characters than the text that surrounds it. 100,200,300,400, 100 generates the thinnest characters and 900 the thickest 500,600,700,800. characters. 900 40o is the same as normal, and 700 is the same as bold. BK 26 TP.HCM" }, { "page_index": 53, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_027.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_027.png", "page_index": 53, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:04+07:00" }, "raw_text": "font-size font-size Values Description xx-small, x-small It's up to the browser to determine a font size that can small, medium, large, be reasonably described as xx-small, x-small , x-large, xx-large small, etc. smaller, larger Using a value of sma11er causes its targeted text to have smaller characters than the text that surrounds it. Using a value of Iarger causes its targeted text to have larger characters than the text that surrounds it. number of em units One em unit is the height of the element's normal font size BK 27 TP.HCM" }, { "page_index": 54, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_028.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_028.png", "page_index": 54, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:08+07:00" }, "raw_text": "Absolute Units There are quite a few other techniques for specifying font size For example: in, cm, mm, pt (point), or pc (pica) unit. BK 28 TP.HCM" }, { "page_index": 55, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_029.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_029.png", "page_index": 55, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:16+07:00" }, "raw_text": "font-family Generic Font Names Description Example Font All characters have the same width Courier New looks s like monospace this. serif Characters have decorative Times New Roman looks like this embellishments on their endpoints sans-serif Characters do not have decorative Arial looks like this. embellishments on their endpoints cursive Supposed to mimic cursive Monotype Corsiva looks like this handwriting, such that the characters are partially or completely connected. fantasy Supposed to be decorative and mpact looks like this playful. BK 29 TP.HCM" }, { "page_index": 56, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_030.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_030.png", "page_index": 56, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:23+07:00" }, "raw_text": "font Shorthand font: [font-style-value] [font-variant-value] [font-weight-value font-size-value /line-height-value] font-family-value In the square bracket: optional In red color: must include Slash (/): line-height-value must be at the right offont-size-value, separate them with (/) blockquote font: italic large \"Arial Black\", Helvetica, sans-serif: Use spaces to separate Use commas to separate property values. font-family values BK 30 TP.HCM" }, { "page_index": 57, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_031.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_031.png", "page_index": 57, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:30+07:00" }, "raw_text": "line-height A line height of 2em generates double spacing Declaration of Independence A This specifies font size and then line height BK 31 TP.HCM" }, { "page_index": 58, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_032.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_032.png", "page_index": 58, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:34+07:00" }, "raw_text": "Text Properties text-align, text-decoration, text-transform, text-indent: BK 32 TP.HCM" }, { "page_index": 59, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_033.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_033.png", "page_index": 59, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:40+07:00" }, "raw_text": "text-align text-align Values Description left Align the text at the left right Align the text at the right center Center the text. justify Stretch the lines so that each line extends to the left edge and the right edge BK 33 TP.HCM" }, { "page_index": 60, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_034.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_034.png", "page_index": 60, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:46+07:00" }, "raw_text": "text-decoration text-decoration Values Description none This displays normal text (no decoration added) underline Draw a line below the text overline Draw a line above the text. line-through Draw a line through the text. blink This causes the text to blink BK 34 TP.HCM" }, { "page_index": 61, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_035.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_035.png", "page_index": 61, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:50+07:00" }, "raw_text": "text-transform text-transform Values Description The text renders the same as the original text. none capitalize Transform the first character of each word to uppercase Transform all characters to uppercase. uppercase lowercase Transform all characters to lowercase. BK 35 TP.HCM" }, { "page_index": 62, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_036.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_036.png", "page_index": 62, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:55+07:00" }, "raw_text": "text-indent The text-indent property specifies the size of the indentation of the first line in a block of text. The block's second and third lines (and so on) are unchanged; that is, they do not get indented. If you want to adjust all the lines in a block of text, use the margin property, not the text-indent property. The most appropriate way to specify a value for the text-indent property is to use em units. p {text-indent: 4em;} BK 36 IP.HCM" }, { "page_index": 63, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_037.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_037.png", "page_index": 63, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:40:58+07:00" }, "raw_text": "Border Properties border-style, border-width, border-color. BK 37 TP.HCM" }, { "page_index": 64, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_038.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_038.png", "page_index": 64, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:03+07:00" }, "raw_text": "border-style border-style Values Appearance none The browser displays no border. This is the default Solid dashed dotted double .box {border-style: dashed;} BK 38 TP.HCM" }, { "page_index": 65, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_039.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_039.png", "page_index": 65, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:10+07:00" }, "raw_text": "border-width border-width Values Description thin, medium, thick The browser determines a border width that can be reasonably described as thin, medium, or thick. The default is medium number of px units A CSS pixel unit is the size of a single projected dot on a computer monitor when the monitor's zooming factor is at its default position of 100% .box { border-style: solid; border-width: 4px 2px 0px 2px; BK 39 TP.HCM" }, { "page_index": 66, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_040.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_040.png", "page_index": 66, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:14+07:00" }, "raw_text": "Border Shorthand .box { border: thin solid blue; .box2 { border: 10px dotted; BK 40 TP.HCM" }, { "page_index": 67, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_041.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_041.png", "page_index": 67, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:19+07:00" }, "raw_text": "Element Box padding properties, margin properties BK 41 TP.HCM" }, { "page_index": 68, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_042.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_042.png", "page_index": 68, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:22+07:00" }, "raw_text": "padding margin border-width This is sample text contained : inside an element box. padding margin BK 42 TP.HCM" }, { "page_index": 69, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_043.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_043.png", "page_index": 69, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:26+07:00" }, "raw_text": "padding margin l & The padding property specifies the width of the area on the interior of an element's border, whereas on the exterior of an element's border. Usually, the most appropriate type of value for the padding and margin properties is a CsS pixel value. Example CSS rule that uses padding and margin properties: .label {border: solid; padding: 2Opx; margin: 20px;} BK 43 TP.HCM" }, { "page_index": 70, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_044.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_044.png", "page_index": 70, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:36+07:00" }, "raw_text": "padding margin 0 X Hot and Cold Labels x C A Hot and Cold Labels HOT COLD HOT COLD 44" }, { "page_index": 71, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_045.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_045.png", "page_index": 71, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:41+07:00" }, "raw_text": "Percentage for a Web Page's Margin Use CSS pixel values for margin widths. instead of pixel values. Case in point-specifying the margin around the entire web page. body {margin: 10%;} It's OK to use a CsS pixel value, but if you want to have the web page's margin shrink and grow when the user resizes the browser window by dragging a corner, use a percentage value BK 45 IP.HCM" }, { "page_index": 72, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_046.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_046.png", "page_index": 72, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:48+07:00" }, "raw_text": "Different Length Units Length units: em, px, %, pc, in, cm. When to use each of the different length units: Use em for font-related properties (like font-size) Use px for properties that should be fixed for a given resolution, even if the element's font size changes or even if the containing element's size changes. Typically, that means using px for things like border properties and layout Use % for properties that should l grow and shrink with the size of the containing element. Use absolute units sparingly-only when a fixed size is essential and the target device has a high resolution. BK 46 IP.HCM" }, { "page_index": 73, "chapter_num": 1, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_047.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_1/slide_047.png", "page_index": 73, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:52+07:00" }, "raw_text": "References W3 Schools - w3schools.com Web Programming with HTML5, CSS, and JavaScript - John Dean - Jones & Bartlett Publishers, 2019. BK 47 TP.HCM" }, { "page_index": 74, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_001.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_001.png", "page_index": 74, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:55+07:00" }, "raw_text": "Organizing A BK Page's Content TP.HCM Presented by Nguyén Dúc Thäi Ho Chi Minh City University of Technology" }, { "page_index": 75, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_002.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_002.png", "page_index": 75, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:41:59+07:00" }, "raw_text": "Outline Introduction Unordered Lists Descendant Selectors Ordered Lists Figures Organizational Elements Section, Article, and aside Elements Header and Footer Elements Child Selectors Css Inheritance BK 2 TP.HCM" }, { "page_index": 76, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_003.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_003.png", "page_index": 76, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:42:03+07:00" }, "raw_text": "Unordered Lists it is legal to omit the end tag for list elements
  • Wake up at 9ish.
  • Go to school.
BK 3 TP.HCM" }, { "page_index": 77, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_004.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_004.png", "page_index": 77, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:42:08+07:00" }, "raw_text": "Parent and Child Elements Nested lists list inside a list BK 4 TP.HCM" }, { "page_index": 78, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_005.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_005.png", "page_index": 78, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:42:13+07:00" }, "raw_text": "Symbol for Unordered List Items According to the W3C, the default symbol for unordered list items is a bullet for all levels in a nested list, but the major browsers typically use bullet, circle, and square symbols for the different levels in a nested list Because the official symbol defaults and the browser symbol defaults are different, you should avoid relying on them. Instead, you should use css's list-style-type property to explicitly specify the symbols used in your web page lists. BK 5 IP.HCM" }, { "page_index": 79, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_006.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_006.png", "page_index": 79, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:42:19+07:00" }, "raw_text": "Symbol for Unordered List Items For unordered lists, the most popular values for the list-style-type property are none, disc, circle, and square. browser displays no symbol next to each list none item. disc generates bullet symbols. circle & square squares, respectively BK 6 TP.HCM" }, { "page_index": 80, "chapter_num": 2, "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_007.png", "metadata": { "doc_type": "slide", "course_id": "CO3049", "source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_007.png", "page_index": 80, "language": "en", "ocr_engine": "PaddleOCR 3.2", "extractor_version": "1.0.0", "timestamp": "2025-10-31T20:42:25+07:00" }, "raw_text": "Descendant Selectors For each pair of adjacent selectors, the browser searches for a pair of elements that match the selectors such that the second element is contained and end tag, we say that the element is a descendant of the outer element.