hatakekksheeshh's picture
Upload folder using huggingface_hub
7ec75e2 verified
{
"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 <p>Hello World !</p> 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 <tagname>Content goes here...</tagname> 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 <!DOCTYPE html> <html> <head>...</head> <body>...</body> </html> 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 <!DOCTYPE html> Declaration of HTML5 document <html> root element of an HTML paae <head> meta information about the <title>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 </title> 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: <meta charset=\"utf-8\"> 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: <meta name=\"author\" content=\"David Johnson \"> 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\": <meta name=\"description\" content=\"Kansas City weather conditions\"> <meta name=\"keywords\" content=\"KC, weather, meteorology, forecast\"> 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 <hr> ->horizontal line for a group of words, form a paragraph <p>...</p> (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) <br> breakline <div>...</div>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 <head> css property css value <style> hl {text-align: center,} hr {width: 75%;} </style> </head> css property css value <body> <hl>Kansas City Weather</hl> <hr> 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 <hr> 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> <html lang=\"en\"> <head> <meta charset=\"utf-8\"> universal <meta name=\"author\" content=\"John Dean\"> selector <title>poem</title> CSS values style> type selector {text-align: center; with one hr r {width: 50%;} element h2, p {font-style: italic; color: blue,} </style> type selector </head> CsS properties with comma- separated list <body> of elements <h2>Trees, by Joyce Kilmer</h2> <hr> <p> I think that I shall never see<br> A poem lovely as a t tree. </p> </body> </html>"
},
{
"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. <style> * {text-align: center;} hr {width: 50%;} h2, p {font-style: italic; color: blue;} </style> 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 <p class=\"red\">Paragraph goes here ...</p> 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 <span id=\"Amazon\">Amazon river ...</span> 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": "<!DOCTYPE html> span and div elements <html lang=\"en\"> <head> <meta charset=\"utf-8\"> <meta name=\"author\" content=\"John Dean\"> <title>Halloween on t the River</title> <style> .orange {color: darkorange,} .white {color: white;} .black {color: black;} .orange-background {background-color: orange;} </style> </head> div Multiple class selectors for <body> a cIass attribute's value <div class=\"orange\"> Corn maze: <span class='white orange-background\">$10</span><br> All you can eat pumpkins: </div> X Halloween on the River X FACA </body> span Parkville's Halloween on the River.every weekend n Octobe Com maze:$10 </html> 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) <!DOCTYPE html> <html lanq=\"en\"> <head> <meta charset=\"utf-8\"> <meta name=\"author\" content=\"John Dean\"> <title>Mark Twain Quotes</title> <style> I.red{background-color: tomato,} class white {background-color: white;} selectors blue j{background-color: skyblue;} </style> </head> class attribute <body> <h1>Mark r Twain Quotes</hl> <g class=\"red\">It is better to keep your mouth closed and let people think you are a fool than to open it and remove all doubt.</q><br> first, then you can distort them as you please.</q><br> <q class=\"blue\">Never put off till tomorrow what you can do the day after tomorrow.</g> </body> </html>"
},
{
"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) <link rel=\"stylesheet\" href=\"name-of-external-file\"> <head> <meta charset=\"utf-8\"> This 1ink element connects the <meta name=\"author\" content=\"John Dean\"> web page to its external CSS file. <title>Halloween on the River</title> <link rel=\"stylesheet\" href=\"pumpkinPatch.css\"> </head> 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 <angle> 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. <head> <style> .roofColor {color: darkslategray;} </style> </head> color name <body> <p> Mackay Hall's is S roof <span class=\"roofColor\">dark slate gray</span> </p> </body> 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 <!DOCTYPE html> <html lang=\"en\"> <head> <meta c charset=\"utf-8\"> <meta name=\"author\" content=\"John Dean\"> <title>Opacity Example</title> <style> .red {background-color: red;} .yellow-bg {background-color: rgb(255,255,0);} rgba construct .yellow-bg2 {background-color: rgba(255,255,0,.4) ;} .yellow-bg3 {background-color: rgb(255,255,0); opacity: .4;} </style> </head> opacity property <body class=\"red\"> <p class=\"yellow-bg\">This line uses background-color: rgb(255,255,0) ;</p> <p class=\"yellow-bg2\"> This line uses background-color: rgba(255,255,0,.4) ; </p> <p class=\"yellow-bg3\"> This line uses background-color: rgb(255,255,0) ; opacity: .4; </p> </body> </html> 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 <!DOCTYPE html> <html lang=\"en\"> A line height of 2em generates double spacing <head> <meta charset=\"utf-8\"> <meta name=\"author\" content=\"John Dean\"> <title>Declaration of Independence</title> <style> line-hei :2em;'font-family: Times, serif,} .sentence1 .sentence2 [font: '1em/ 2em:Times, serif; </style> A </head> 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 <!DOCTYPE html> Hot and Cold Labels x <html lang=\"en\"> C A <head> <meta charset=\"utf-8\"> <meta name=\"author\" content=\"JohnDean\"> <title>Hot and Cold Labels</title> HOT COLD <style> 50% .hot {background-color: red;} 50% .cold {background-color: blue;} .label color: white; font: bold xx-large Lucida, monospace; border: solid black; border-radius: 50%; This implements curved corners. padding: 20px; margin: 20px; This is necessary for the vertical display: inline-block; < margins to work. } </style> </head> <body> <span class=\"hot label\">HOT</span> <span class=\"cold label\">COLD</span> </body> </html> 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 </li> end tag for list elements <ul> <li>Wake up at 9ish.</li> <li>Go to school.</li> </ul> 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 <style> ul {list-style-type: circle;} ul ul {list-style-type: square;} </style> 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. <style> ul {list-style-type: disc;} ul ul {list-style-type: square;} ul ul ul {list-style-type: none;} </sty1e> BK 7 TP.HCM"
},
{
"page_index": 81,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_008.png",
"page_index": 81,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:29+07:00"
},
"raw_text": "Descendant Selectors If you ever have two or more Css rules that conflict the more specific rule wins. That's a general principle of programming and you should remember it-the more specific rule wins. BK 8 TP.HCM"
},
{
"page_index": 82,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_009.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_009.png",
"page_index": 82,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:34+07:00"
},
"raw_text": "Ordered Lists How to generate list items that have numbers and letters next to them. Numbers and letters indicate that the order of the list items is important, and that changing the order would change the list's meaning <ol> <li>Personal experiences</1i> Those types of lists are <li>What friends say</li> </o1> referred to as ordered lists."
},
{
"page_index": 83,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_010.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_010.png",
"page_index": 83,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:39+07:00"
},
"raw_text": "Figures Typically, a figure holds text, programming code, an illustration, a picture, or a data table. As with all figures, the figure element's content should be self-contained, and it should be referenced from elsewhere in the web page figure { border: solid crimson; padding: 6px;"
},
{
"page_index": 84,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_011.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_011.png",
"page_index": 84,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:41+07:00"
},
"raw_text": "Figures BK 11 TP.HCM"
},
{
"page_index": 85,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_012.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_012.png",
"page_index": 85,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:43+07:00"
},
"raw_text": "Figures BK 12 TP.HCM"
},
{
"page_index": 86,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_013.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_013.png",
"page_index": 86,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:47+07:00"
},
"raw_text": "Organizational Elements can use CSS and JavaScript to manipulate their content more effectively. The organizational elements: section article aside nav header footer BK 13 TP.HCM"
},
{
"page_index": 87,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_014.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_014.png",
"page_index": 87,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:52+07:00"
},
"raw_text": "Organizational Elements aside container footer container nav container section container header container BK 14 TP.HCM"
},
{
"page_index": 88,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_015.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_015.png",
"page_index": 88,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:42:57+07:00"
},
"raw_text": "Organizational Elements TP.HCM 15"
},
{
"page_index": 89,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_016.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_016.png",
"page_index": 89,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:01+07:00"
},
"raw_text": "element section 1 container: used to group together a section: - section of a web page. Typically, a section will contain a heading and one or more paragraphs, with the heading saying something about the common theme BK 16 TP.HCM"
},
{
"page_index": 90,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_017.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_017.png",
"page_index": 90,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:03+07:00"
},
"raw_text": "element section BK 17 TP.HCM"
},
{
"page_index": 91,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_018.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_018.png",
"page_index": 91,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:07+07:00"
},
"raw_text": "article element article - grouping together one or more sections such that the group of sections form an independent part of a web page. BK 18 TP.HCM"
},
{
"page_index": 92,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_019.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_019.png",
"page_index": 92,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:11+07:00"
},
"raw_text": "aside element aside to group together content that has something to do with the rest of the web page, but it isn't part of the main flow. Typically, you should position an aside element at the right or left. BK 19 TP.HCM"
},
{
"page_index": 93,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_020.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_020.png",
"page_index": 93,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:16+07:00"
},
"raw_text": "& a element nav a container that normally contains links to nav other web pages or to other parts of the current web page navigation nav implements a link a BK 20 TP.HCM"
},
{
"page_index": 94,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_021.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_021.png",
"page_index": 94,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:21+07:00"
},
"raw_text": "& footer header element header for grouping together one or more heading elements (h1-h6) Normally, the header is associated with a section, an article, or the entire web page. To form that association, the header element must be positioned within its associated content container. Typically, that means at the top of the container, but it is legal and sometimes appropriate to have it positioned lower. BK 21 IP.HCM"
},
{
"page_index": 95,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_022.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_022.png",
"page_index": 95,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:24+07:00"
},
"raw_text": "& footer header element BK 22 TP.HCM"
},
{
"page_index": 96,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_023.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_023.png",
"page_index": 96,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:31+07:00"
},
"raw_text": "& footer header element for grouping together information to footer form a footer. Typically, the footer holds content such as copyright data, author information, or related links. The footer should be associated with a section, an article, or the entire web page. To form that association, the footer element must be positioned within its associated content container. Typically, that means at the bottom of the container, but it is legal and sometimes appropriate to have it positioned elsewhere. BK 23 IP.HCM"
},
{
"page_index": 97,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_024.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_024.png",
"page_index": 97,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:33+07:00"
},
"raw_text": "header & footer element BK 24 TP.HCM"
},
{
"page_index": 98,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_025.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_025.png",
"page_index": 98,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:38+07:00"
},
"raw_text": "Child Selectors A child selector is a more refined version of a descendant selector. combinator, used to combine the elements BK 25 TP.HCM"
},
{
"page_index": 99,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_026.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_026.png",
"page_index": 99,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:43+07:00"
},
"raw_text": "Css Inheritance Css inheritance is when a Css property value flows down from a parent element to child (children) It parallels the inheritance of genetic characteristics (e.g., height and eye color) from a biological parent to a child. Some CSS properties are inheritable and some are not. CsS properties inheritable: BK 26 TP.HCM"
},
{
"page_index": 100,
"chapter_num": 2,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_027.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_2/slide_027.png",
"page_index": 100,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:46+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": 101,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_001.png",
"page_index": 101,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:49+07:00"
},
"raw_text": "Introduction to BK JavaScript TP.HCM Presented by Nguyén Dúc Thäi Ho Chi Minh City University of Technology"
},
{
"page_index": 102,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_002.png",
"page_index": 102,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:53+07:00"
},
"raw_text": "Outline Introduction History of JavaScript Hello World Web Page Buttons Functions Variables Identifiers BK 2 TP.HCM"
},
{
"page_index": 103,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_003.png",
"page_index": 103,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:43:58+07:00"
},
"raw_text": "Introduction JavaScript is the world's most popular programming language JavaScript is the programming language of the Web. JavaScript is easy to learn. JavaScript is one of the 3 languages all web developers must learn: HTML to define the content of web pages CsS to specify the layout of web pages JavaScript to program the behavior of web pages BK 3 IP.HCM"
},
{
"page_index": 104,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_004.png",
"page_index": 104,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:02+07:00"
},
"raw_text": "What Can JavaScript Do? JavaScript can: Change HTML Content Change HTML Attribute Values Change HTML Styles (CSS) Hide HTML Elements Show HTML Elements BK 4 TP.HCM"
},
{
"page_index": 105,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_005.png",
"page_index": 105,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:09+07:00"
},
"raw_text": "Change HTML Content <!DOCTYPE html> What Can JavaScript Do? <html> JavaScript can change HTML content. <body> Click Me! <h2>what Can JavaScript Do?</h2> p id=\"demo\">JavaScript can change HTML content.</p> <button type=\"button\" onclick='document.getElementById(\"demo\") .innerHTML \"Hello JavaScript!\"'>Click Me!</button> </body> What Can JavaScript Do? </html> Hello JavaScript! Click Me! BK 5 TP.HCM"
},
{
"page_index": 106,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_006.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_006.png",
"page_index": 106,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:19+07:00"
},
"raw_text": "Change HTML Attribute Values <h2>what Can JavaScript Do?</h2> <p>JavaScript can change HTML attribute values.</p> <p>In this case JavaScript changes the value of the src (source) attribute of an image.</p> <buttOn onclick=\"document.getElementById('myImage').src='pic bulbon.gif'\"> Turn on the light </button> <img id=\"myImage\" src=\"pic bulboff.gif\" style=\"width:l00px\"> <button onclick=\"document.getElementById('myImage').src='pic_bulboff.gif'\"> Turn off the light </button> What Can JavaScript Do? What Can JavaScript Do? JavaScript can change HTML attribute values JavaScript can change HTML attribute values In this case JavaScript changes the value of the src (source) attribute of an image. In this case JavaScript changes the value of the src (source) attribute of an image. BK Turn on the light Turn off the light Turn on the light Turn off the light 6 TP.HCM"
},
{
"page_index": 107,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_007.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_007.png",
"page_index": 107,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:27+07:00"
},
"raw_text": "Change HTML Styles (CSS) Changing the style of an HTML element, is a variant of changing an HTML attribute: What Can JavaScript Do? <!DOCTYPE html> JavaScript can change the style of an HTML element. <html> Click Me! <body> <h2>What Can JavaScript Do?</h2> id=\"demo\">JavaScript can change the style of an HTML element.</p> <button type=\"button\" onclick=\"document.getElementById('demo').style.fontSize='35px'\">Click Me! </button> What Can JavaScript Do? </body> </html> JavaScript can change the style of an HTML element. Click Me! BK 7 TP.HCM"
},
{
"page_index": 108,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_008.png",
"page_index": 108,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:34+07:00"
},
"raw_text": "JavaScript Can Hide HTML Elements Hiding HTML elements can be done by changing the display style <!DOCTYPE html> <html> <body> <h2>What Can JavaScript Do?</h2> <p id=\"demo\">JavaScript can hide HTML elements.</p> <button type=\"button\" onclick=\"document.getElementById('demo').style.display='none'\">Click Me! </button> </body> What Can JavaScript Do? What Can JavaScript Do? </html> JavaScript can hide HTML elements. Click Me! Click Me! BK 8 TP.HCM"
},
{
"page_index": 109,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_009.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_009.png",
"page_index": 109,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:42+07:00"
},
"raw_text": "JavaScript Can Show HTML Elements Showing hidden HTML elements can also be done by changing the display style What Can JavaScript Do? <!DOCTYPE html> JavaScript can show hidden HTML elements. <html> <body> Click Me! <h2>what Can JavaScript Do?</h2> <p>JavaScript can show hidden HTML elements.</p> p id=\"demo\" style=\"display:none\">Hello JavaScript!</p> <button type=\"button\" onclick=\"document.getElementById('demo').style.display='block'\">Click Me! </button> What Can JavaScript Do? </body> JavaScript can show hidden HTML elements </html> Hello JavaScript! BK Click Me! 9 TP.HCM"
},
{
"page_index": 110,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_010.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_010.png",
"page_index": 110,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:46+07:00"
},
"raw_text": "JavaScript Where To The <script> Tag JavaScript Functions and Events JavaScript in <head> or <body> JavaScript in <head> JavaScript in <body> External JavaScript External JavaScript Advantages BK 10 TP.HCM"
},
{
"page_index": 111,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_011.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_011.png",
"page_index": 111,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:54+07:00"
},
"raw_text": "The <script> Tag In HTML, JavaScript code is inserted between <script> and </script> tags <!DOCTYPE html> <html> JavaScript in Body <body> My First JavaScript <h2>JavaScript in Body</h2> <p id=\"demo\"></p> <script> document.getElementById(\"demo\") .innerHTML = \"My First JavaScript\"; </script> </body> </html> BK 11 TP.HCM"
},
{
"page_index": 112,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_012.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_012.png",
"page_index": 112,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:44:57+07:00"
},
"raw_text": "JavaScript in <head> or <body> You can place any number of scripts in an HTML document. Scripts can be placed in the <body>, or in the <head> section of an HTML page, or in both. BK 12 TP.HCM"
},
{
"page_index": 113,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_013.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_013.png",
"page_index": 113,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:04+07:00"
},
"raw_text": "JavaScript in <head> The function is invoked (called) when a button is clicked: Demo JavaScript in Head <!DOCTYPE html> <html> A Paragraph <head> Try it <script> function myFunction document.getElementById(\"demo\") .innerHTML \"Paragraph changed.\"; } </script> Demo JavaScript in Head </head> Paragraph changed. <body> Try it <h2>Demo JavaScript in Head</h2> id=\"demo\">A Paragraph</p> <button type=\"button\" onclick=\"myFunctionO)\">Try it</button> </body> 7html> BK 13 TP.HCM"
},
{
"page_index": 114,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_014.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_014.png",
"page_index": 114,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:10+07:00"
},
"raw_text": "JavaScript in <body> The function is invoked (called) when a button is clicked: <!DOCTYPE html> Demo JavaScript in Body <html> <body> A Paragraph <h2>Demo JavaScript in Body</h2> Try it <p id=\"demo\">A Paragraph.</p> <button type=\"button\" onclick=\"myFunction()\">Try it</button> <script> function myFunction document.getElementById(\"demo\") .innerHTML = \"Paragraph changed.\"; Demo JavaScript in Body </script> </body> Paragraph changed </html> Try it BK 14 TP.HCM"
},
{
"page_index": 115,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_015.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_015.png",
"page_index": 115,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:16+07:00"
},
"raw_text": "External JavaScript External scripts are practical when the same code is used in many different web pages <!DOCTYPE html> <html> <body> <h2>Demo External JavaScript</h2> <p id=\"demo\">A Paragraph.</p> <button type=\"button\" onclick=\"myFunction()\">Try it</button> <p>This example links to \"myScript.js\".</p> <p>(myFunction is stored in \"myScript.js\")</p> <script src=\"myScript.js\"></script> - You can place an external script reference. </body> in<head> or <body> as you like </htm1> - The script will behave as if it was located exactly where the <script> tag is located. BK 15 TP.HCM"
},
{
"page_index": 116,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_016.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_016.png",
"page_index": 116,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:22+07:00"
},
"raw_text": "External JavaScript Advantages Placing scripts in external files has some advantages: It separates HTML and code It makes HTML and JavaScript easier to read and maintain Cached JavaScript files can speed up page loads BK 16 TP.HCM"
},
{
"page_index": 117,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_017.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_017.png",
"page_index": 117,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:26+07:00"
},
"raw_text": "JavaScript Output JavaScript Display Possibilities Using innerHTML Using document.write() Using window.alert() Using console.log () JavaScript Print BK 17 TP.HCM"
},
{
"page_index": 118,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_018.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_018.png",
"page_index": 118,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:32+07:00"
},
"raw_text": "Using innerHTML To access an HTML element, JavaScript can use document.getElementById(id) <!DOCTYPE html> <html> My First Web Page <body> My First Paragraph <h2>My First Web Page</h2> <p>My First Paragraph.</p> 11 <p id=\"demo\"></p> <script> document.getElementById(\"demo\") .innerHTML = 5 + 6; </script> </body> </html> BK 18 TP.HCM"
},
{
"page_index": 119,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_019.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_019.png",
"page_index": 119,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:39+07:00"
},
"raw_text": "Using document.write() For testing purposes, it is convenient to use document. write () : <!DOCTYPE html> <html> <body> <h2>My First Web Page</h2> <p>My first paragraph.</p> <p>Never call document.write after the document has finished loading. It will overwrite the whole document.</p> <script> document.write(5 + 6) </script> My First Web Page </body> </html> My first paragraph. Never call document.write after the document has finished loading. It will overwrite the whole document. 11 BK 19 TP.HCM"
},
{
"page_index": 120,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_020.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_020.png",
"page_index": 120,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:44+07:00"
},
"raw_text": "Using document.write() Using document . write () after an HTML document is loaded, will delete all existing HTML: My First Web Page <!DOCTYPE html> <html> <body> My first paragraph Try it <h2>My First Web Page</h2> <p>My first paragraph.</p> <button type=\"button\" onclick=\"document.write(5 + 6)\">Try it</button> 11 </body> </html> The document.writeO method should only be used for testing. BK 20 TP.HCM"
},
{
"page_index": 121,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_021.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_021.png",
"page_index": 121,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:51+07:00"
},
"raw_text": "Using window.alert() You can use an alert box (popup) to display data <!DOCTYPE html> <html> My First Web Page <body> My first paragraph <h2>My First Web Page</h2> <p>My first paragraph.</p> 11 <script> window.alert(5 + 6) ; Close </script> </body> </html> You can skip the window keyword. In JavaScript, the w indow object is the global scope object, that means that variables, properties, and methods by default belong to the window object. This also means that specifying the window keyword is optional BK 21 TP.HCM"
},
{
"page_index": 122,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_022.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_022.png",
"page_index": 122,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:45:58+07:00"
},
"raw_text": "Using console.log() For debugging purposes, you can call the console. 1og () method in the browser to display data. <!DOCTYPE html> <html> <body> <h2>Activate Debugging</h2> <p>Fl2 on your keybord will activate debugging.</p> <p>Then select \"Console\" in the debugger menu.</p> <p>Then i click Run again.</p> Activate Debugging <script> console.log(5 + 6) ; F12 on your keybord will activate debugging </script> Then select \"Console\" in the debugger menu. </body> </html> Then click Run again. BK 22 TP.HCM"
},
{
"page_index": 123,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_023.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_023.png",
"page_index": 123,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:07+07:00"
},
"raw_text": "JavaScript Print JavaScript does not have any print object or print methods. You cannot access output devices from JavaScript. The only exception is that you can call the window.printO method in the browser to print the content of the current window. The window.printO Method <!DOCTYPE html> <html> <body> Click the button to print the current page. <h2>The window.printO) Method</h2> Print this page <p>Click the button to print the current page.</p> <button onclick=\"window.print(0)\">Print this page</button> KIK 1 of 1 Printer: HP Jet Pro M501dn </body> Copies: Two-Sided </html> Pages: . All From: to: BK 23 TP.HCM ? Show Details PDF 1 Cancel Print"
},
{
"page_index": 124,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_024.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_024.png",
"page_index": 124,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:15+07:00"
},
"raw_text": "JavaScript Statements JavaScript statements are composed of: Values <script> Operators let x, y, z; // Statement 1 Expressions x 5: // Statement 2 y 6; // Statement 3 Keywords, and z = x + yi // Statement Comments. A computer program is a list of \"instructions\" to be \"executed\" by a computer In a programming language, these programming instructions are called statements. A JavaScript program is a list of programming statements. In HTML, JavaScript programs are executed by the web browser. BK 24 IP.HCM"
},
{
"page_index": 125,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_025.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_025.png",
"page_index": 125,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:21+07:00"
},
"raw_text": "Semicolon Semicolons separate JavaScript statements. Add a semicolon at the end of each executable statement let a, b, c; // Declare 3 variables 5; // Assign the value 5 to a a = b 6; // Assign the value 6 to b a // Assign the sum of a and b to c c When separated by semicolons, multiple statements on one line are allowed. a= 5; b= 6; c= a + b; BK 25 IP.HCM"
},
{
"page_index": 126,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_026.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_026.png",
"page_index": 126,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:26+07:00"
},
"raw_text": "JavaScript White Space JavaScript ignores multiple spaces. You can add white space to your script to make it more readable let person = \"Hege\"; let person=\"Hege\"; A good practice is to put spaces around /): operators ( = + - * let x = y + z; BK 26 TP.HCM"
},
{
"page_index": 127,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_027.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_027.png",
"page_index": 127,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:30+07:00"
},
"raw_text": "JavaScript Line Length & Line Breaks avoid code lines longer than 80 characters. If a JavaScript statement does not fit on one line, the best place to break it is after an operator: document.getElementById(\"demo\").innerHTML = \"Hello Dolly!\"; BK 27 TP.HCM"
},
{
"page_index": 128,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_028.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_028.png",
"page_index": 128,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:35+07:00"
},
"raw_text": "JavaScript Code Blocks JavaScript statements can be grouped together in code blocks, inside curly brackets {...}. The purpose of code blocks is to define statements to be executed together. function myFunction() { document.getElementById(\"demo1\").innerHTML = \"Hello Dolly!\"; document.getElementById(\"demo2\").innerHTML = \"How are you?\"; BK 28 TP.HCM"
},
{
"page_index": 129,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_029.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_029.png",
"page_index": 129,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:41+07:00"
},
"raw_text": "JavaScript Keywords JavaScript statements often start with a keyword to identify the JavaScript action to be performed. Keyword Description var Declares a variable let Declares a block variable const Declares a block constant if Marks a block of statements to be executed on a condition switch Marks a block of statements to be executed in different cases for Marks a block of statements to be executed in a loop function Declares a function return Exits a function try Implements error handling to a block of statements BK 29 TP.HCM"
},
{
"page_index": 130,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_030.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_030.png",
"page_index": 130,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:46+07:00"
},
"raw_text": "JavaScript Syntax JavaScript syntax is the set of rules, how // How to create variables: var x; let y; // How to use variables: x = 5; 6; y = let z = x + y; BK 30 TP.HCM"
},
{
"page_index": 131,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_031.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_031.png",
"page_index": 131,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:49+07:00"
},
"raw_text": "JavaScript Values The JavaScript syntax defines two types of values: Fixed yalues Variable values Fixed values are called Literals. Variable values are called Variables BK 31 TP.HCM"
},
{
"page_index": 132,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_032.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_032.png",
"page_index": 132,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:46:56+07:00"
},
"raw_text": "JavaScript Comments JavaScript comments can be used to explain JavaScript code, and to make it more readable. JavaScript comments can also be used to prevent execution, when testing alternative code let x = 5; // Declare x, give it the value of 5 // Declare y, give it the value of x + 2 Multi-line comments start with /* and end with /* The code below will change the heading with id = \"myH\" and the paragraph with id = \"myp\" in my web page: */ BK 32 IP.HCM"
},
{
"page_index": 133,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_033.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_033.png",
"page_index": 133,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:01+07:00"
},
"raw_text": "JavaScript Variables 3 ways to declare a JavaScript variable: Using var var x 5; Using let var y 6; var z x + y; Using const Variables defined with let cannot be re-declared Variables defined with Iet must be declared before use. Variables defined with 1et have Block Scope. BK 33 IP.HCM"
},
{
"page_index": 134,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_034.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_034.png",
"page_index": 134,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:07+07:00"
},
"raw_text": "JavaScript Const Variables defined with const cannot be re-declared. Variables defined with const cannot be re-assigned. const PI = 3.141592653589793; PI = 3.14; // This will give an error PI = PI + 1O; // This will also give an error Variables defined with const have block scope. JavaScript const variables must be assigned a value when they are declared BK 34 IP.HCM"
},
{
"page_index": 135,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_035.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_035.png",
"page_index": 135,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:12+07:00"
},
"raw_text": "When to Use JavaScript Const? As a general rule, always declare a variable with const unless you know that the value will change. Use const when you declare: A new Array A j new Object A new Function A new RegExp BK 35 TP.HCM"
},
{
"page_index": 136,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_036.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_036.png",
"page_index": 136,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:19+07:00"
},
"raw_text": "Constant Arrays Can change the elements of a constant array: / You 1 can create a constant array: const . cars = [\"Saab\", \"Volvo\", \"BMW\"]; // You can change an element: cars[o] = \"Toyota\"; // You can add an element: cars-push(\"Audi\"); Cannot re-assign the array cars = [\"Saab\", \"Volvo\", \"BMW\"]; const cars = [\"Toyota\", \"Volvo\", \"Audi\"]; // E ERROR BK 36 IP.HCM"
},
{
"page_index": 137,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_037.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_037.png",
"page_index": 137,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:25+07:00"
},
"raw_text": "JavaScript Operators Arithmetic operators: Operator Description + Addition Subtraction * Multiplication ** Exponentiation (ES2016) / Division % Modulus (Division Remainder) ++ Increment Decrement BK 37 TP.HCM"
},
{
"page_index": 138,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_038.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_038.png",
"page_index": 138,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:31+07:00"
},
"raw_text": "JavaScript Assignment t Operators Arithmetic operators assign values Operator Example Same As x = y x = y += x += y x = x + y x -= y x = x - y *= x *= y x = x * y /= x/= y x = x/ y %= x %= y X = x % Y **= x **= Y BK 38 TP.HCM"
},
{
"page_index": 139,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_039.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_039.png",
"page_index": 139,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:38+07:00"
},
"raw_text": "JavaScript String Operators The + operator can let text1 = \"John\"; let text2 = \"Doe\"; also be used to add let text3 = text1 + 1 + text2 (concatenate) strings. The += assignment let text1 = \"what a very text1 += \"nice day\"; operator can also be used to add (concatenate) strings: let = 5 + 5; 10 x Adding Strings and let y = \"5\" + 5; 55 let z = \"Hello\" + 5; Hello5 Numbers BK 39 IP.HCM"
},
{
"page_index": 140,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_040.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_040.png",
"page_index": 140,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:43+07:00"
},
"raw_text": "JavaScript Comparison Operators Operator Description equal to equal value and equal type != not equal !== not equal value or not equal type > greater than < less than >= greater than or equal to < = less than or equal to 2 ternary operator BK 40 TP.HCM"
},
{
"page_index": 141,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_041.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_041.png",
"page_index": 141,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:48+07:00"
},
"raw_text": "JavaScript Logical Operators JavaScript Logical Operators Operator Description && logical and II logical or logical not JavaScript Type Operators Operator Description typeof Returns the type of a variable instanceof Returns true if an object is an instance of an object type BK 41 TP.HCM"
},
{
"page_index": 142,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_042.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_042.png",
"page_index": 142,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:47:54+07:00"
},
"raw_text": "JavaScript Data Types JavaScript variables can hold different data types: numbers, strings, objects and more. let length = 16; // Number let lastName = \"Johnson\"; // String let x = {firstName:\"John\", lastName:\"Doe\"}; // Object Add Numbers and Strings let x = 16 + 4 + \"Volvo\"j let x = 16 + \"Volvo\"j 20Volvo let x = \"Volvo\" + 16; let x = \"Volvo\" + 16 + 4; Volvo164 BK 42 IP.HCM"
},
{
"page_index": 143,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_043.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_043.png",
"page_index": 143,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:00+07:00"
},
"raw_text": "JavaScript Strings A string is a series of characters like \"John Doe\" Strings are written with quotes: single or double quotes let carName1 = \"Volvo XC60\"; // Using double quotes let carName2 = 'Volvo XC60'; // Using single quotes let answer1 = \"It's alright\"; // Single quote inside double quotes let answer2 = \"He is called 'Johnny'\"; // Single quotes inside double quotes let answer3 = 'He is called \"Johnny\"; // Double quotes inside single quotes BK 43 TP.HCM"
},
{
"page_index": 144,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_044.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_044.png",
"page_index": 144,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:05+07:00"
},
"raw_text": "JavaScript Numbers JavaScript has only one type of numbers. Numbers can be written with, or without decimals: let x1 = 34.00; // Written with decimals let x2 = 34; // Written without decimals Extra large or extra small numbers can be written with scientific (exponential) notation: let y = 123e5; 12300000 let z = 123e-5; // 0.00123 BK 44 TP.HCM"
},
{
"page_index": 145,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_045.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_045.png",
"page_index": 145,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:09+07:00"
},
"raw_text": "JavaScript Booleans Booleans: true or false. let x = 5; let y = 5; let z = 6: (x y // Returns true (x z) // Returns false Booleans: often used in conditional testing. BK 45 TP.HCM"
},
{
"page_index": 146,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_046.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_046.png",
"page_index": 146,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:13+07:00"
},
"raw_text": "JavaScript Arrays JavaScript arrays: written with square brackets. Array items: separated by commas. const cars = [\"Saab\", \"Volvo\", \"BMW\"]; Array indexes are zero-based: first item is [0] second is [1] ... and so on. BK 46 TP.HCM"
},
{
"page_index": 147,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_047.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_047.png",
"page_index": 147,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:17+07:00"
},
"raw_text": "JavaScript Objects JavaScript objects: written with curly braces {}. Object properties: written as name: value pairs separated by commas. const person = {firstName:\"John\", lastName:\"Doe\", age:5o, eyeColor:\"blue\"} BK 47 TP.HCM"
},
{
"page_index": 148,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_048.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_048.png",
"page_index": 148,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:22+07:00"
},
"raw_text": "JavaScript Functions A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when something\" invokes it (calls it). function myFunction(p1, p2) { return p1 * p2; // The function returns the product of p1 and p2 } BK 48 TP.HCM"
},
{
"page_index": 149,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_049.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_049.png",
"page_index": 149,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:27+07:00"
},
"raw_text": "JavaScript Functions Syntax A JavaScript function: defined with the function keyword, followed by a name, followed by parameters 0. Function names: letters, digits, underscores, and dollar signs (same rules as variables). function name(parameterl, parameter2, parameter3) { // code to be executed Parameter names separated by commas: (parameter1, parameter2, ...) BK 49 IP.HCM"
},
{
"page_index": 150,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_050.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_050.png",
"page_index": 150,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:31+07:00"
},
"raw_text": "Functions Invocation The code inside the function will execute when something\" invokes (calls) the function: When an event occurs (when a user clicks a button) When it is invoked (called) from JavaScript code Automatically (self invoked) BK 50 TP.HCM"
},
{
"page_index": 151,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_051.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_051.png",
"page_index": 151,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:35+07:00"
},
"raw_text": "Functions Return When JavaScript reaches a return statement, the function will stop executing. If the function was invoked from a statement, JavaScript will \"return\" to execute the code after the invoking statement. Functions often compute a return value. The return value is \"returned\" back to the \"caller\": BK 51 TP.HCM"
},
{
"page_index": 152,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_052.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_052.png",
"page_index": 152,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:39+07:00"
},
"raw_text": "Why Functions? Can reuse code: define the code once, and use it many times. Can use the same code many times with different arguments, to produce different results BK 52 TP.HCM"
},
{
"page_index": 153,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_053.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_053.png",
"page_index": 153,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:43+07:00"
},
"raw_text": "Local Variables Variables declared within a JavaScript function, become LOCAL to the function. Local variables can only be accessed from within the function. // code here can NoT use carName function myFunction( { let carName = \"Volvo\"; // code here CAN use carName // code here can NoT use carName BK 53 IP.HCM"
},
{
"page_index": 154,
"chapter_num": 3,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_054.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_3/slide_054.png",
"page_index": 154,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:46+07:00"
},
"raw_text": "References W3 Schools - w3schools.com BK 54 TP.HCM"
},
{
"page_index": 155,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_001.png",
"page_index": 155,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:49+07:00"
},
"raw_text": "BK PHP TP.HCM Presented by Nguyén Düc Thai Ho Chi Minh City University of Technology"
},
{
"page_index": 156,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_002.png",
"page_index": 156,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:51+07:00"
},
"raw_text": "Outline Introduction BK 2 TP.HCM"
},
{
"page_index": 157,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_003.png",
"page_index": 157,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:48:56+07:00"
},
"raw_text": "Introduction PHP is an acronym for \"PHP: Hypertext Preprocessor PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP is a powerful tool for making dynamic and interactive Web pages PHP is free to download and use. BK 3 TP.HCM"
},
{
"page_index": 158,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_004.png",
"page_index": 158,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:00+07:00"
},
"raw_text": "PHP File PHP files can contain text, HTML, CSS, JavaScript, and PHP code PHP code is executed on the server, and the result is returned to the browser as plain HTML PHP files have extension \".php BK 4 TP.HCM"
},
{
"page_index": 159,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_005.png",
"page_index": 159,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:06+07:00"
},
"raw_text": "What Can PHP Do? PHP can generate dynamic page content PHP can create, open, read, write, delete, and close files on the server PHP c can collect form data PHP can send and receive cookies PHP can add, delete, modify data in your database PHP can be used to control user-access PHP can encrypt data With PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML. BK 5 IP.HCM"
},
{
"page_index": 160,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_006.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_006.png",
"page_index": 160,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:11+07:00"
},
"raw_text": "Why PHP? PHP runs on various platforms (Windows, Linux Unix, Mac Os X, etc.) PHP is compatible with almost all servers used today (Apache, IIS, etc.) PHP supports a wide range of databases PHP is free. (www.php.net) PHP is easy to learn and runs efficiently on the server BK side 6 IP.HCM"
},
{
"page_index": 161,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_007.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_007.png",
"page_index": 161,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:16+07:00"
},
"raw_text": "PHP Installation To start using PHP, you can: Find a web host with PHP and MySQL support Install a web server on your own PC, and then install PHP and MySQL Use a Web Host With PHP Support If your server has activated support for PHP you do not need to do anything Just create some -php files, place them in your web directory and the server will automatically parse them for you. You do not need to compile anything or install any extra tools. Because PHP is free, most web hosts offer PHP support. BK 7 IP.HCM"
},
{
"page_index": 162,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_008.png",
"page_index": 162,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:21+07:00"
},
"raw_text": "PHP Syntax A PHP script is executed on the server, and the plain HTML result is sent back to the browser. <!DOCTYPE html> A PHP script can be placed <html> anywhere in the document. <body> <h1>My first PHP page</h1> A PHP script starts with <?php echo \"Hello World!\"; <?php and ends with ?> ?> </body> </html> BK 8 IP.HCM"
},
{
"page_index": 163,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_009.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_009.png",
"page_index": 163,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:26+07:00"
},
"raw_text": "PHP Case Sensitive In PHP, keywords (e.g. if, else, while, echo, etc.). classes, functions, and user-defined functions are not case-sensitive However, all variable names are case-sensitive! BK 9 TP.HCM"
},
{
"page_index": 164,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_010.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_010.png",
"page_index": 164,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:33+07:00"
},
"raw_text": "PHP Comments <!DOCTYPE html> <html> <body> <?php // This is a single-line comment # This is also a single-line comment /* This is a multiple-lines comment block that spans over multiple lines */ ?> </body> </html> BK 10 TP.HCM"
},
{
"page_index": 165,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_011.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_011.png",
"page_index": 165,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:39+07:00"
},
"raw_text": "PHP Variables In PHP, a variable starts with the $ sign, followed by the name of the variable. Rules for PHP variables : A variable name must start with a letter or the underscore character A variable name cannot start with a number A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and - ) Variable names are case-sensitive ($age and $AGE are two different variables) BK 11 IP.HCM"
},
{
"page_index": 166,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_012.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_012.png",
"page_index": 166,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:45+07:00"
},
"raw_text": "Output Variables The PHP echo statement is often used to output data to the screen. <?php <?php <?php $x = 5; $txt = \"W3Schools.com\"; $txt = \"W3Schools.com\"j $y = 4; echo \"I love $txt!\"; echo \"I love \" . $txt . echo $x + $y; ?> ?> ?> PHP variables can be declared anywhere in the script PHP has three different variable scopes: local global static BK 12 IP.HCM"
},
{
"page_index": 167,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_013.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_013.png",
"page_index": 167,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:50+07:00"
},
"raw_text": "echo and print echo and print are more or less the same. They are both used to output data to the screen. The differences are small: echo has no return value while print has a return value of 1 so it can be used in expressions. echo can take multiple parameters (although such usage is rare) while print can take one argument. echo is marginally faster than print BK 13 IP.HCM"
},
{
"page_index": 168,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_014.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_014.png",
"page_index": 168,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:55+07:00"
},
"raw_text": "echo and print <?php echo \"<h2>PHP is Fun!</h2>\"j echo \"Hello world!<br>\"; echo \"I'm about to learn PHP!<br>\"; echo \"This \", \"string \", \"was . \", \"made \", \"with multiple parameters.\"; ?> BK 14 TP.HCM"
},
{
"page_index": 169,
"chapter_num": 4,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_015.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_4/slide_015.png",
"page_index": 169,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:49:58+07:00"
},
"raw_text": "References W3 Schools - w3schools.com Web Programming with HTML5, CSS, and JavaScript - John Dean - Jones & Bartlett Publishers, 2019. BK 15 TP.HCM"
},
{
"page_index": 170,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_001.png",
"page_index": 170,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:03+07:00"
},
"raw_text": "BK AJAX TP.HCM Presented by Nguyén Du'c Thai Ho Chi Minh City University of Technology"
},
{
"page_index": 171,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_002.png",
"page_index": 171,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:08+07:00"
},
"raw_text": "Introduction AJAx is a developer's dream, because we can: Read data from a web server - after the page has loaded. Update a web page without reloading the page Send data to a web server - in the background BK 2 P.HCM"
},
{
"page_index": 172,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_003.png",
"page_index": 172,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:12+07:00"
},
"raw_text": "What is AJAX? AJAX = Asynchronous IavaScript And XML AJAx is not a programming language. AJAx just uses a combination of: A browser built-in XMLHttpRequest object (to request data from a web server JavaScript and HTML DOM (to display or use the data BK 3 P.HCM"
},
{
"page_index": 173,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_004.png",
"page_index": 173,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:15+07:00"
},
"raw_text": "What is AJAX? AJAX is a misleading name AJAX applications might use XML to transport data, but it is equally common to transport data as plain text or JSON text. BK 4 P.HCM"
},
{
"page_index": 174,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_005.png",
"page_index": 174,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:19+07:00"
},
"raw_text": "How AJAX Works? Browser Server An event occurs... -Process HTTPRequest Internet -Create an -Create a response and XMLHttpRequestobject send data back to the browser Send HttpRequest Browser -Process the returned Internet data using JavaScript -Update page content BK 5 TP.HCM"
},
{
"page_index": 175,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_006.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_006.png",
"page_index": 175,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:23+07:00"
},
"raw_text": "Create an 1 XMLHttpRequest Object All modern browsers (Chrome, Firefox, IE, Edge, Safari, Opera) have a built-in XMLHttpRequest object Syntax for creating an XMLHttpRequest object: variable = new XMLHttpRequest() ; BK 6 P.HCM"
},
{
"page_index": 176,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_007.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_007.png",
"page_index": 176,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:31+07:00"
},
"raw_text": "Send A Request The XMLHttpRequest object xhttp.open(\"GET\", \"ajax_info.txt\"); xhttp.send(); can be used to exchange data with a web server behind the scenes. All modern browsers Chrome, Firefox, IE, Edge, Safari, Opera have a built-in XMLHttpRequest object XMLHttpRequest object const xhttp = new XMLHttpRequest()j // Define a callback function xhttp.onload = function { // Here you can use the Data } To send a reguest to a server, // Send a request you can use the open0 and xhttp.open(\"GET\",\"ajax_info.txt\") sendo methods of xhttp.send); theXMLHttpRequest object BK 7 P.HCM"
},
{
"page_index": 177,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_008.png",
"page_index": 177,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:37+07:00"
},
"raw_text": "Callback Function the callback function should contain the code to execute when the response is ready Create an XMLHttpRequest object xhttp = new XMLHttpRequest(); CO / Define callback function a xhttp.onload = functionQ { // Here you can use the Data } // Send a request xhttp.open(\"GET\", \"ajax_info.txt\"); xhttp.sendj BK 8 P.HCM"
},
{
"page_index": 178,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_009.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_009.png",
"page_index": 178,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:43+07:00"
},
"raw_text": "Send A Request the callback function should contain the code to execute when the response is ready Create an XMLHttpRequest object xhttp = new XMLHttpRequest(); CO / Define callback function a xhttp.onload = functionQ { // Here you can use the Data } // Send a request xhttp.open(\"GET\", \"ajax_info.txt\"); xhttp.send(); BK 9 P.HCM"
},
{
"page_index": 179,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_010.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_010.png",
"page_index": 179,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:49+07:00"
},
"raw_text": "XMLHttpRequest xhttp.open(\"GET\", \"ajax_info.txt\"); xhttp.send(); Method Des F ption open(method, url, async) ies the type of request od: the type of request: GET or POST the server (file) location nc: true (asynchronous) or false (synchronous send() nds the reguest to the server (used for GET) send(string) ends the reguest to the server (used for PoST) - address to a file on a server - can be any kind of file, like .txt and .xml, or server scripting files like .asp and .php BK 10 P.HCM"
},
{
"page_index": 180,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_011.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_011.png",
"page_index": 180,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:50:58+07:00"
},
"raw_text": "XMLHttpRequest t Object Method Description new XMLHttpRequestQ Creates a new XMLHttpRequest object abort() Cancels the current request getAllResponseHeaders() Returns header information getResponseHeaderO Returns specific header information open(method, url, async, user, psw) Specifies the request method: the request type GET or POST xhttp.open(\"GET\", \"ajax_info.txt\"); ur/: the file location xhttp.send; async: true (asynchronous) or false (synchronous) user: optional user name psw: optional password send() Sends the reguest to the server Used for GET requests send(string) Sends the request to the server. Used for POST reguests setRequestHeaderQ Adds a label/value pair to the header to be sent BK 11 P.HCM"
},
{
"page_index": 181,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_012.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_012.png",
"page_index": 181,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:07+07:00"
},
"raw_text": "XMLHttpRequest t Object Properties Property Description onload Defines a function to be called when the request is recieved (loaded) onreadystatechange Defines a function to be called when the readyState property changes readyState Holds the status of the XMLHttpRequest 0: request not initialized const xhttp = new XMLHttpRequest(); 1: server connection established xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { 2: request received document.getElementById(\"demo\").innerHTML = 3: processing request this.responseText; } 4: request finished and response is ready responseText Returns the response data as a string responseXML Returns the response data as XML data status Returns the status-number of a request 200: \"OK\" 403: \"Forbidden\" 404: \"Not Found\" For a complete list go to the Http Messages Reference statusText Returns the status-text (e.g. \"OK\" or \"Not Found\") BK 12 P.HCM"
},
{
"page_index": 182,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_013.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_013.png",
"page_index": 182,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:12+07:00"
},
"raw_text": "Asynchronous - True or False? Server requests should be sent asynchronously. set to true: xhttp.open(\"GET\", \"ajax_test.asp\", true); By sending asynchronously, the JavaScript does not execute other scripts while waiting for server response deal with the response after the response is ready BK 13 P.HCM"
},
{
"page_index": 183,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_014.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_014.png",
"page_index": 183,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:18+07:00"
},
"raw_text": "AJAX Response Server response properties: Property Description responseText get the response data as a string responseXML get the response data as XML data The responseText property returns the server response as a JavaScript string, and you can use it accordingly: document.getElementById(\"demo\") .innerHTML = xhttp.responseText; response as an XML DOM object. BK 14 P.HCM"
},
{
"page_index": 184,
"chapter_num": 5,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_015.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_5/slide_015.png",
"page_index": 184,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:20+07:00"
},
"raw_text": "References W3 Schools - w3schools.com BK 15 TP.HCM"
},
{
"page_index": 185,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_001.png",
"page_index": 185,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:24+07:00"
},
"raw_text": "BK PHP Cookies TP.HCM Presented by Nguyén Düc Thai Ho Chi Minh City University of Technology"
},
{
"page_index": 186,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_002.png",
"page_index": 186,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:29+07:00"
},
"raw_text": "What is a Cookie? A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values. BK 2 IP.HCM"
},
{
"page_index": 187,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_003.png",
"page_index": 187,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:34+07:00"
},
"raw_text": "Create a Cookie A cookie is created with the setcookieO function. Syntax: setcookie(name, value, expire, path, domain, secure, httponly) Only the name parameter is required. All other parameters are optional. <?php $cookie_name = \"user\"; $cookie_value = \"John Doe\"; setcookie($cookie_name, $cookie_value, time + (86400 * 30), \"/\"); // 86400 = 1 day ?> <html> tag BK 3 IP.HCM"
},
{
"page_index": 188,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_004.png",
"page_index": 188,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:43+07:00"
},
"raw_text": "Retrieve a Cookie Retrieve the value of the cookie \"user\" (using the global variable $_COOKIE). Use the issetO function to find out if the cookie is set: <?php if(!isset($ COOKIE[$cookie name] { echo \"Cookie named .\" . $cookie_name is not set!\", } else echo \"Cookie ! . $cookie_name . is set!<br>\"; echo \"Value is: \" : $_COOKIE[$cookie_name]; } ?> BK 4 IP.HCM"
},
{
"page_index": 189,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_005.png",
"page_index": 189,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:51+07:00"
},
"raw_text": "Modify a Cookie Value To modify a cookie, just set (again) the cookie using the setcookieO function: <?php $cookie_name = \"user\"; $cookie_value = \"Alex Porter\"; setcookie($cookie_name, $cookie_value, time( + (86400 * 30),\"/\"); ?> <html> <body> <?php if(!isset($_C0OKIE[$cookie_name])) { echo \"Cookie named i\" : $cookie_name is not set!\"j } else { echo \"Cookie i\" : $cookie_name : \": is set!<br>\"; echo \"Value is: \" : $_COOKIE[$cookie_name]; } ?> </body> </html> BK 5 TP.HCM"
},
{
"page_index": 190,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_006.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_006.png",
"page_index": 190,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:51:56+07:00"
},
"raw_text": "Delete a Cookie To delete a cookie, use the setcookieO function with an expiration date in the past: <?php // set the expiration date to one hour ago setcookie(\"user\", \", time() - 3600); ?> <html> <body> <?php echo \"Cookie 'user' is deleted.\"; ?> </body> </html> BK 6 TP.HCM"
},
{
"page_index": 191,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_007.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_007.png",
"page_index": 191,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:01+07:00"
},
"raw_text": "Check if Cookie are Enable Count the $ COOKIE array variable <?php if(count($_COOKIE) > 0) { echo \"Cookies are enabled.\"; } else { echo \"Cookies are disabled.\"; } ?> BK 7 TP.HCM"
},
{
"page_index": 192,
"chapter_num": 6,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_6/slide_008.png",
"page_index": 192,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:07+07:00"
},
"raw_text": "References W3 Schools - w3schools.com BK 8 TP.HCM"
},
{
"page_index": 193,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_001.png",
"page_index": 193,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:12+07:00"
},
"raw_text": "BK PHP Sessions TP.HCM Presented by Nguyén Dúc Thai Ho Chi Minh City University of Technology"
},
{
"page_index": 194,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_002.png",
"page_index": 194,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:17+07:00"
},
"raw_text": "What is PHP Session? A session is a way to store information (in variables) to be used across multiple pages Unlike a cookie, the information is not stored on the users computer BK 2 TP.HCM"
},
{
"page_index": 195,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_003.png",
"page_index": 195,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:22+07:00"
},
"raw_text": "What is PHP Session? When you work with an application, you open it, do some changes, and then you close it. This is much like a Session The computer knows who you are. It knows when you start the application and when you end. BK 3 TP.HCM"
},
{
"page_index": 196,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_004.png",
"page_index": 196,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:28+07:00"
},
"raw_text": "What is PHP Session? But on the Internet there is one problem: the web server does not know who you are or what you do, because the HTTP address doesn't maintain state. Session variables solve this problem by storing user information to be used across multiple pages (e.g. username, favorite color, etc) BK 4 TP.HCM"
},
{
"page_index": 197,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_005.png",
"page_index": 197,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:33+07:00"
},
"raw_text": "What is PHP Session? By default, session variables last until the user closes the browser. Session variables hold information about one single user, and are available to all pages in one application. BK 5 TP.HCM"
},
{
"page_index": 198,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_006.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_006.png",
"page_index": 198,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:42+07:00"
},
"raw_text": "Start a Session A session is started with the session_startO function. Session variables are set with the PHP global variable: $ SESSION. <?php // Start the session session start() : ?> <!DOCTYPE html> <html> <body> <?php // Set session variables $_SESSION[\"favcolor\"] = \"green\"; $_SESSION[\"favanimal\"] = \"cat\"; echo \"Session variables are set.\"; ?> </body> Note: </html> session_startO function must be the very first thing in your document. Before any HTML tags. BK 6 TP.HCM"
},
{
"page_index": 199,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_007.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_007.png",
"page_index": 199,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:48+07:00"
},
"raw_text": "Get PHP Session Variable Values Session variables are not passed individually to each new page, instead they are retrieved from the session we open at the beginning of each page (session_startO). All session variable values are stored in the global $ SESSION variable: BK 7 TP.HCM"
},
{
"page_index": 200,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_008.png",
"page_index": 200,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:52:55+07:00"
},
"raw_text": "Get PHP Session Variable Values <?php session startQ ; ?> <!D0CTYPE html> <html> <body> <?php // Echo session variables that were set on previous page echo \"Favorite color is \" : $ SEsSION[\"favcolor\"] : \".<br>\" echo \"Favorite animal is \" : $ SEssIoN[\"favanimal\"] : ?> </body> </html> BK 8 TP.HCM"
},
{
"page_index": 201,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_009.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_009.png",
"page_index": 201,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:01+07:00"
},
"raw_text": "Get PHP Session Variable Values Another way to show all the session variable values for a user session is to run the following code: <?php session startO : ?> <!DOCTYPE html> <html> <body> <?php print_r($_SESSI0N)j ?> </body> </html> BK 9 TP.HCM"
},
{
"page_index": 202,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_010.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_010.png",
"page_index": 202,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:06+07:00"
},
"raw_text": "How does it work? Most sessions set a user-key on the user's computer that looks something like this: 765487cf34ert8dede5a562e4f3a7e12 Then, when a session is opened on another page, it scans the computer for a user-key. If there is a match, it accesses that session, if not, it starts a new session BK 10 IP.HCM"
},
{
"page_index": 203,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_011.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_011.png",
"page_index": 203,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:12+07:00"
},
"raw_text": "Modify a PHP Session Value To change a session variable, just overwrite it: <?php session startO j ?> <!DOCTYPE html> <html> <body> <?php // to change a session variable, just overwrite it $_SESSI0N[\"favcolor\"] = \"yellow\"; print_r($_SESSI0N); ?> </body> </html> BK 11 TP.HCM"
},
{
"page_index": 204,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_012.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_012.png",
"page_index": 204,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:19+07:00"
},
"raw_text": "Destroy a PHP Session To remove all global session variables and destroy the session, use session_unsetO and session_destroyO: <?php session_startQ; ?> <!D0CTYPE html> <html> <body> <?php // remove all session variables session_unsetQ; // destroy the session session_destroy(); ?> </body> </html> BK 12 TP.HCM"
},
{
"page_index": 205,
"chapter_num": 7,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_013.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_7/slide_013.png",
"page_index": 205,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:22+07:00"
},
"raw_text": "References W3 Schools - w3schools.com BK 13 TP.HCM"
},
{
"page_index": 206,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_001.png",
"page_index": 206,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:28+07:00"
},
"raw_text": "SEO BK SEARCH ENGINE OPTIMIZATION) TP.HCM Presented by Nguyén Düc Thai Ho Chi Minh City University of Technology"
},
{
"page_index": 207,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_002.png",
"page_index": 207,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:32+07:00"
},
"raw_text": "Outline On-Page Off-Page BK 2 TP.HCM"
},
{
"page_index": 208,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_003.png",
"page_index": 208,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:37+07:00"
},
"raw_text": "On-Page This is the technique of improving individual webpages so as to rank higher and secure dynamically huge traffic by web crawlers. On-page implies both the available content and HTML source code of a page that can be developed, as opposed to off-page SEO which proposes links and related links. BK 3 TP.HCM"
},
{
"page_index": 209,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_004.png",
"page_index": 209,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:42+07:00"
},
"raw_text": "On-Page Keywords Title Description Contents (H1>H6) sitemap.xml robots.txt BK 4 TP.HCM"
},
{
"page_index": 210,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_005.png",
"page_index": 210,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:48+07:00"
},
"raw_text": "Keyword Significance Keywords are the basic and most important SEO tools for any web browser as they help the search queries to be materialized and actualized for search queries So, choosing the right keyword is the main activity for redesigning SEO operation. If a web developer cannot design good keywords, then SEO will be very difficult to operate as a lot of money and time will go down the drain. BK 5 IP.HCM"
},
{
"page_index": 211,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_006.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_006.png",
"page_index": 211,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:53:55+07:00"
},
"raw_text": "Keyword Selection For a dynamic web search, the visitor will always want to have a two-word- or three-word-based keyword by which the search queries can be easily that portray the content of your site. BK 6 TP.HCM"
},
{
"page_index": 212,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_007.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_007.png",
"page_index": 212,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:00+07:00"
},
"raw_text": "Keyword Selection Ideally, the marketer knows the customers well. So, the search queries and keywords of potentiality can be more suitably suggested by the marketer to the developer and should be given priority. BK 7 TP.HCM"
},
{
"page_index": 213,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_008.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_008.png",
"page_index": 213,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:05+07:00"
},
"raw_text": "Keyword Selection When picking the suitable keywords to update, you need to consider the ordinary month-to-month number of visits or queries as well as the congruity of these specific keywords to the website. Keywords show how much the website takes the point ofview of visitors or the perception of the information search process. BK 8 TP.HCM"
},
{
"page_index": 214,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_009.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_009.png",
"page_index": 214,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:11+07:00"
},
"raw_text": "Keyword Numbers Once you have found the keyword which depicts and represents the core theme of the website and expectedly gives the maximum result in attracting visitors, then it is the duty of the developer to make the website abundant with similar words. But excessive keywords will make the website cluttered. BK 9 TP.HCM"
},
{
"page_index": 215,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_010.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_010.png",
"page_index": 215,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:16+07:00"
},
"raw_text": "Keyword Numbers However, the optimized number of keywords will give 3-7% more importance than a lesser number. So, it is important to have good keywords in the content It is good to keep five to ten keywords on a page so that it will be optimized well. BK 10 TP.HCM"
},
{
"page_index": 216,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_011.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_011.png",
"page_index": 216,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:22+07:00"
},
"raw_text": "Keyword in Special Places Keywords in optimized numbers increase the quality additionally If keywords are in the page title, the headings, and the principle areas then it is good to have a link with 1 underlying content. If you have a comparable special keyword as your competitors, yet you have that word in the URL, this will help the website fantastically in improving the rank. BK 11 IP.HCM"
},
{
"page_index": 217,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_012.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_012.png",
"page_index": 217,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:27+07:00"
},
"raw_text": "Keyword in URLs As per the rule of thumb of SEO, we should have five keywords in the URL of the site, as otherwise it will be difficult to remember them. So, there must be some balance in it BK 12 TP.HCM"
},
{
"page_index": 218,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_013.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_013.png",
"page_index": 218,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:34+07:00"
},
"raw_text": "Keyword in URLs Additionally, pay a little attention toward whether website names, which are already taken by others. So, a tool which helps you find a URL name will be valuable File names and directory names are similarly noteworthy as they are easy and less complex to remember. BK 13 IP.HCM"
},
{
"page_index": 219,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_014.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_014.png",
"page_index": 219,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:39+07:00"
},
"raw_text": "Keyword in Webpage Titles The webpage title is exceptionally accepted as the content of the <title> tag for the most part appears in most web data (searching in Google). empty. BK 14 TP.HCM"
},
{
"page_index": 220,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_015.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_015.png",
"page_index": 220,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:45+07:00"
},
"raw_text": "Keyword in Webpage Heading Normally headings of webpages are differentiated from subtitles from a dynamic website There is also no limitation with the length of headings It is advisable to have at least seven to eight keywords in a heading, or it may spread to two to three lines which should be avoided. If we keep keywords continuously in two to three lines then it will not be good. BK 15 IP.HCM"
},
{
"page_index": 221,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_016.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_016.png",
"page_index": 221,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:50+07:00"
},
"raw_text": "Domain Website names are the most important thing for getting clicks on the Internet. They incorporate three fragments: A top-level domain (at times called an expansion or suffix), a domain name (or IP address), and a discretionary subdomain BK 16 TP.HCM"
},
{
"page_index": 222,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_017.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_017.png",
"page_index": 222,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:54:58+07:00"
},
"raw_text": "Domain In the URL http://www.xxxyyyyzzz.com, http:// represents the protocol denotes the subdomain WWW. domain name, and xxxyyyyzzz the top-level domain. . Com Both the domain name and top-level domain combined represent the root domain BK 17 TP.HCM"
},
{
"page_index": 223,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_018.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_018.png",
"page_index": 223,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:03+07:00"
},
"raw_text": "Domain Name Should Be Brandable Always the domain name should be such that it helps in creating a brand and identifiable features. Hyphens and numbers are a certifiable issue since they don't make something sound like a brand, nonexclusive or impossible to miss. BK 18 TP.HCM"
},
{
"page_index": 224,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_019.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_019.png",
"page_index": 224,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:09+07:00"
},
"raw_text": "Make It Short This implies that the domain name should be such that it will have minimum words and be identifiable. Short domain names make things look very simple and yet powerfully placed in the subconscious minds of consumers. So, the rule is keep it short and simple BK 19 TP.HCM"
},
{
"page_index": 225,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_020.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_020.png",
"page_index": 225,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:14+07:00"
},
"raw_text": "Names interfere with Similar Organiz. It is unlawful to use similar words or keywords or spell-alike words for your websites which are in direct competition with the competitors. One should avoid these names as they can attract legal disputes and a bad reputation in the market as the competitor can file a lawsuit. BK 20 TP.HCM"
},
{
"page_index": 226,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_021.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_021.png",
"page_index": 226,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:19+07:00"
},
"raw_text": "Make It Intuitive If your domain name is easily intuitive for all who easily interact with you, then it is better to have that name as your domain name. It can g give you the advantage of quick reliability and relatability among the visitors. BK 21 TP.HCM"
},
{
"page_index": 227,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_022.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_022.png",
"page_index": 227,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:24+07:00"
},
"raw_text": "Hosting This is the most important stage after arranging and building up a website for the Internet. Who will be facilitated? Would it be advisable for you to go for SEO? Web facilitation, or hosting as it is popularly called, isn't simply identified with the cost and highlights of the web facilitating server. BK 22 IP.HCM"
},
{
"page_index": 228,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_023.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_023.png",
"page_index": 228,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:29+07:00"
},
"raw_text": "Hosting Website proprietors who are distantly located think about different variables, for example, website design and subsequent improvement. Does picking a host server have any effect on SERP or not? BK 23 TP.HCM"
},
{
"page_index": 229,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_024.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_024.png",
"page_index": 229,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:34+07:00"
},
"raw_text": "URL Restructuring For maintaining the correct structure of your URLs is likewise significant. Search engines face issues while ordering in dynamic websites. Apache is the most prevalent web server and modifies the module to change itself to dynamic long URLs for search engines, and most facilitating organizations offer it BK 24 TP.HCM"
},
{
"page_index": 230,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_025.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_025.png",
"page_index": 230,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:41+07:00"
},
"raw_text": "HTML and XML Sitemap When you are finished making your sitemap, it is tool with the goal that Google can crawl your sitemaps One of the primary contrasts between HTML and XML sitemap, is in how Google views the site. BK 25 TP.HCM"
},
{
"page_index": 231,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_026.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_026.png",
"page_index": 231,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:47+07:00"
},
"raw_text": "URL Structuring Web optimization and well-disposed URLs have always been in focus for SEO. From the quantity of organizers to the consideration of the essential specific keywords, proficient SEOs have investigated various mixed approaches for the ideal URL structure. It is described below how to structure or formulate URLs. BK 26 TP.HCM"
},
{
"page_index": 232,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_027.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_027.png",
"page_index": 232,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:55:54+07:00"
},
"raw_text": "URL Structuring Keywords inclusion is something to be thankful for. If the fundamental keyword is included naturally with the content, then it will draw good response. Benefits are as follows: 1. It will come up in the status bar if a browser clicks on a linking website that comes up as a picture. Another huge preferred method is that web crawler visitors give a great deal of consideration to significant catch words in the web index SERP which draws greater traffic. BK 27 IP.HCM"
},
{
"page_index": 233,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_028.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_028.png",
"page_index": 233,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:00+07:00"
},
"raw_text": "URL Structuring The most effective URL is that which the visitors can use easily. Web index is the not the most important thing for a clean URL, since visitors generally go for content and click on long items to read. BK 28 TP.HCM"
},
{
"page_index": 234,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_029.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_029.png",
"page_index": 234,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:05+07:00"
},
"raw_text": "URL Structuring Web search tools don't especially have any issue with longer URLs. In this way, at the end of the day, URL length doesn't directly influence the web index and rankings. BK 29 TP.HCM"
},
{
"page_index": 235,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_030.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_030.png",
"page_index": 235,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:10+07:00"
},
"raw_text": "URL Structuring Short URLs are generally preferred as they are simple to use. Besides, due to the limitations of social media like Twitter, shorter URLs are much simpler to share over the internet. As a rule of thumb, if the URL of your blog entry is under 50 characters, you don't need to stress over it. BK 30 TP.HCM"
},
{
"page_index": 236,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_031.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_031.png",
"page_index": 236,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:15+07:00"
},
"raw_text": "URL Structuring If it is longer than 100 characters, at that point you should rework it and make it easier to understand. The URLs of articles positioned on Google's #1 page BK 31 TP.HCM"
},
{
"page_index": 237,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_032.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_032.png",
"page_index": 237,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:21+07:00"
},
"raw_text": "URL to Title of Webpage Matching It is viewed as an excellent practice to coordinate the URL with the title of the post - in any way possible. If title or content of the page is to some degree not quite the same as the catch words present in the URL it might prompt a \"bounce\" BK 32 TP.HCM"
},
{
"page_index": 238,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_033.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_033.png",
"page_index": 238,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:25+07:00"
},
"raw_text": "URL to Title of Webpage Matching In a perfect world, you should coordinate the title and URL as much as possible. Stop words, like and, or, at the same time, the, an, and so on, are not important to incorporate into the URL. BK 33 TP.HCM"
},
{
"page_index": 239,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_034.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_034.png",
"page_index": 239,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:32+07:00"
},
"raw_text": "URL to Title of Webpage Matching There is no restriction for inclusion of these words in the URL; however, they can frequently make a URL irrationally long. One of our objectives is to consistently make the URL short, basic, and decipherable. Keeping away from such stop words can enable you to accomplish that objective of effortlessness. BK 34 IP.HCM"
},
{
"page_index": 240,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_035.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_035.png",
"page_index": 240,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:36+07:00"
},
"raw_text": "Case Sensitivity www.abc.com/xyz www.abc.com/xYZ BK 35 TP.HCM"
},
{
"page_index": 241,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_036.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_036.png",
"page_index": 241,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:42+07:00"
},
"raw_text": "Picture Names The alt traits of these pictures should not be neglected as alt tags and title tags fortify the message for web index. This improves the ranking. The expression \"alt tag\" is generally utilized for restricting what's really an alt trait on an img tag For any picture on the website, the alt tag ought to depict what's on it. BK 36 IP.HCM"
},
{
"page_index": 242,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_037.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_037.png",
"page_index": 242,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:47+07:00"
},
"raw_text": "Picture Names When a picture is used without any logic only to create a background, then it ought to be in your CSs and not in your : HTML. If you truly can't transform it, give it a vacant alt BK 37 TP.HCM"
},
{
"page_index": 243,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_038.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_038.png",
"page_index": 243,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:52+07:00"
},
"raw_text": "Picture Names The unfilled alt trait ensures that screen browsers skirt the picture, alt content, and SEO. Google gives generally high esteem to alt writings to figure out what is in the picture, yet in addition to decide the subject of the encompassing content. BK 38 TP.HCM"
},
{
"page_index": 244,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_039.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_039.png",
"page_index": 244,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:56:59+07:00"
},
"raw_text": "Picture Names This doesn't mean that you will spam the keyword into each alt tag. The only thing that is required is to have a calibrated a good related image for the posts where the website will have all the content around the centered keyword. The rule of thumb is that if a keyword in the picture helps in identifying something, then include the alt tag. BK 39 IP.HCM"
},
{
"page_index": 245,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_040.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_040.png",
"page_index": 245,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:05+07:00"
},
"raw_text": "Meta Tags These are an incredible route for webmasters to give data about the websites to search engines. They give data for all browsers in all frameworks that they comprehend They are added to the<head> area of your HTML page. BK 40 TP.HCM"
},
{
"page_index": 246,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_041.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_041.png",
"page_index": 246,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:12+07:00"
},
"raw_text": "Google Uses Meta Tags for Ranking Some web crawlers once hoped to use concealed HTML tags like meta tags for requesting search engines in internet search results pages; However most search engines (in 2019) have developed past this, and Google surely has. Google has gone on record saying that it doesn't utilize few meta tags when positioning a page (in a positive way) and tests during the time have unquestionably appeared to affirm this. BK 41 IP.HCM"
},
{
"page_index": 247,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_042.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_042.png",
"page_index": 247,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:21+07:00"
},
"raw_text": "Meta Tag T. ypes Company name <meta name=\"author\" content=\"Author name (s) \"> In the event that there are numerous creators for a page, separate them by commas. <title>The Title of the 1. Page</title> 2. <meta a name=\"description\" content=\"Description l of page\"/> 3. <meta name=\"keywords\" content=\"Keywords identified l with page\"/> BK 42 TP.HCM"
},
{
"page_index": 248,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_043.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_043.png",
"page_index": 248,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:30+07:00"
},
"raw_text": "Optional Meta Tags <meta content=\"latitude; longitude\"> 2. <meta name=\"geo. place name content=\"Place Name\" 3. <meta name=\"geo. region\" Subdivision Code\"> 4. content=\"noindex, <meta name=\"robots\" nofollow'/> 5. <meta name=\"revisit-after\" content=wperiod\"> BK 43 TP.HCM"
},
{
"page_index": 249,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_044.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_044.png",
"page_index": 249,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:36+07:00"
},
"raw_text": "Detailed Description 1. The title tag is for use on each page on the site. This ought to portray the content of every one-of-a-kind page and incorporate keywords if relevant. 2. The meta description tag is where you can incorporate a synopsis of the page content 3. The meta keyword tag incorporates keywords significant to your site and the particular page. BK 44 TP.HCM"
},
{
"page_index": 250,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_045.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_045.png",
"page_index": 250,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:44+07:00"
},
"raw_text": "Detailed Description 4. The geotags are area-specific tags which can sit on each page on your site. These are for use if you have a physical area that is significant for your business, for instance a café. They can likewise be utilized for organizations that have stores all through the nation, with geotags doled out to any similar page for every individual area. 5. The robots label advises the search engine crawlers on how to treat the pages of your site; Noindex will advise the web crawlers not to record that page. Noindex will let them know not to pursue any of the connections on the page. 6, The revisit after label advises the web crawlers how frequently to return to and re-creep the site. BK 45 IP.HCM"
},
{
"page_index": 251,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_046.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_046.png",
"page_index": 251,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:50+07:00"
},
"raw_text": "For Title, Keywords, Description The title tag is significant and ought to show up on each page of the site This ought to mirror the content of the page and incorporate a couple of keywords important to the page. The search engines find the keywords inside the title and description that matches with the result. Each page ought to have individual title tags. BK 46 IP.HCM"
},
{
"page_index": 252,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_047.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_047.png",
"page_index": 252,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:57:58+07:00"
},
"raw_text": "For Title, Keywords, Description The meta description ought to be expressive and furthermore identify with what shows up on-page. It must contain keywords where important and be confined to 155 characters (any extra characters will be cut off inside the web crawler results). The meta keyword tag normally incorporates a couple of keywords significant to each page. This tag is presently to a great extent repetitive and is probably going to be overlooked by the web crawlers. In the early long periods of SEO, this tag was to a great extent mishandled by stuffing in loads of keywords, now and then inconsequential to the page content. To forestall this training, web search tools started disregarding BK these to counteract any control of the rankings. Whenever 47 IP.HCM"
},
{
"page_index": 253,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_048.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_048.png",
"page_index": 253,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:02+07:00"
},
"raw_text": "For Title, Keywords, Description The meta keyword tag normally incorporates a couple of keywords significant to each page. This tag is presently to a great extent repetitive and is probably going to be overlooked by the web crawlers. BK 48 TP.HCM"
},
{
"page_index": 254,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_049.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_049.png",
"page_index": 254,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:09+07:00"
},
"raw_text": "Concept of Off-Page This deals with those activities where external links with different partners are established for improvement of search engine results page (SERP). These techniques deal with more complexity and specially with past web composition where listing or ranking can be done with establishing backlinks. BK 49 TP.HCM"
},
{
"page_index": 255,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_050.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_050.png",
"page_index": 255,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:15+07:00"
},
"raw_text": "Concept of Off-Page Web crawlers use on-page SEO for depicting the information. Off-page techniques act on the principle of how the external world looks to the website from other links through web-based networking media (Facebook likes, tweets, Pins, and so forth.). BK 50 TP.HCM"
},
{
"page_index": 256,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_051.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_051.png",
"page_index": 256,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:19+07:00"
},
"raw_text": "Off-Page SEO 1. Increasing the ranking. 2. Increasing page ranking. BK 51 TP.HCM"
},
{
"page_index": 257,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_052.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_052.png",
"page_index": 257,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:25+07:00"
},
"raw_text": "Backlink This is one of the most used cult words in SEO development by worldwide developers Backlinks simply connect site pages. Blogging is nowadays used as an enhancer of backlinks Previously blogging was used to position the web ranking and positioning across all search engines BK 52 IP.HCM"
},
{
"page_index": 258,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_053.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_053.png",
"page_index": 258,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:31+07:00"
},
"raw_text": "Backlink This is one of the most used cult words in SEO development by worldwide developers Backlinks simply connect site pages. Blogging is nowadays used as an enhancer of backlinks Previously blogging was used to position the web ranking and positioning across all search engines BK 53 IP.HCM"
},
{
"page_index": 259,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_054.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_054.png",
"page_index": 259,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:38+07:00"
},
"raw_text": "Terms Associated with Backlinks 1. Linking juice or interface juice: At the time of connecting two sites or blogs with the landing page, some juice or information is passed. This information is used to position the article and improve space authorization. 2. Link of nofollow: When a website links to another website but the link has a nofollow tag, that link does not pass link juice. Nofollow links are not useful concerning the ranking of a page as they do not contribute anything. In general, a webmaster uses the nofollow tag when he/she is linking out to an unreliable site. 3. Link of follow-up: Those links, at the time of connecting two websites or blogs, which are important for future linking are called follow-up links. BK 54 IP.HCM"
},
{
"page_index": 260,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_055.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_055.png",
"page_index": 260,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:46+07:00"
},
"raw_text": "Terms Associated with Backlinks 4. Root domain links: Backlinks which come from an exceptional area even if the website is connected or not to multiple sites. It is the one and only connection of root space. 5. Links of low quality: These are links from automated websites, digitally harvested sites, spam. These play havoc if followed in the off-page SEO. 6. Links of internal connections: Those links which move within a small space internally are called inward links used for interlinking 7. Anchor text: Hyperlinked text in the content as a grappled backlink which helps in the ranking of keywords. BK 55 IP.HCM"
},
{
"page_index": 261,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_056.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_056.png",
"page_index": 261,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:50+07:00"
},
"raw_text": "Off-Page Marketing articles Social networks Supporting websites (Same content) Forums BK 56 TP.HCM"
},
{
"page_index": 262,
"chapter_num": 8,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_057.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_8/slide_057.png",
"page_index": 262,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:55+07:00"
},
"raw_text": "References W3 Schools - w3schools.com Web Programming with HTML5, CSS, and JavaScript - John Dean - Jones & Bartlett Publishers, 2019. BK 57 TP.HCM"
},
{
"page_index": 263,
"chapter_num": 9,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_001.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_001.png",
"page_index": 263,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:58:59+07:00"
},
"raw_text": "WEB BK PROGRAMMING TP.HCM Presented by Nguyén Duc Thai Ho Chi Minh City University of Technology"
},
{
"page_index": 264,
"chapter_num": 9,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_002.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_002.png",
"page_index": 264,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:59:05+07:00"
},
"raw_text": "Course Schedule Study time allocation: 2 lecture hours for theory per week 20 hours for exercises and lab works per semester E-mail: ngdthai@hcmut.edu.vn BK 2 TP.HCIM"
},
{
"page_index": 265,
"chapter_num": 9,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_003.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_003.png",
"page_index": 265,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:59:11+07:00"
},
"raw_text": "Course Assessments Lab work + Exercises: 20% Lab work submissions Exercises in the class Attendance Assignments: 40% Work in Groups Final Exam: 40% Writing + Multiple-choice questions test BK 3 P.HCM"
},
{
"page_index": 266,
"chapter_num": 9,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_004.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_004.png",
"page_index": 266,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:59:17+07:00"
},
"raw_text": "Contents Create a Website: register Domain + Hosting HTML/HTML5 + CSS3 JavaScript Responsive Design - Bootstrap Website Layout PHP PHP + MySQL/MariaDB Jquery,AJAx,Json Search Engine Optimization (SEO) Security issues ... and other website components BK 4 P.HCM"
},
{
"page_index": 267,
"chapter_num": 9,
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_005.png",
"metadata": {
"doc_type": "slide",
"course_id": "CO3049",
"source_file": "/workspace/data/converted/CO3049_Web_Programming/Chapter_9/slide_005.png",
"page_index": 267,
"language": "en",
"ocr_engine": "PaddleOCR 3.2",
"extractor_version": "1.0.0",
"timestamp": "2025-10-31T20:59:21+07:00"
},
"raw_text": "References W3 Schools - w3schools.com Web Programming with HTML5, CSS, and JavaScript - John Dean - Jones & Bartlett Publishers, 2019. BK 5 P.HCM"
}
]
}