What are the different kinds of Doctypes available

There are several Document Type Declarations (DTDs) or "Doctypes" used in HTML. They were historically used to define the version of HTML being used and to help browsers render web pages correctly. However, with HTML5, the doctype declaration has been simplified to <!DOCTYPE html>, which triggers standards mode in modern browsers. This single doctype declaration is used for all HTML5 documents.

Here are some examples of older doctype declarations that were used in earlier versions of HTML:

  1. HTML 4.01 Strict:

                    
                        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
                        "http://www.w3.org/TR/html4/strict.dtd">                
                    
                

  2. HTML 4.01 Transitional:

                    
                        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                        "http://www.w3.org/TR/html4/loose.dtd">                
                    
                

  3. HTML 4.01 Frameset:

                    
                        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
                        "http://www.w3.org/TR/html4/frameset.dtd">                
                    
                

  4. XHTML 1.0 Strict:

                    
                        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">                
                    
                

  5. XHTML 1.0 Transitional:

                    
                        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">                
                    
                

  6. XHTML 1.0 Frameset:

                    
                        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
                        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">                
                    
                

  7. XHTML 1.1:

                    
                        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
                        "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">                
                    
                

Note: HTML5 introduced a simplified, backward-compatible doctype declaration (<!DOCTYPE html>) that is used universally for HTML5 documents.

Developing Multi-Modal Bots with Django, GPT-4, Whisper, and DALL-E

Developing a multi-modal bot using Django as the web framework, GPT-4 for text generation, Whisper for speech-to-text, and DALL-E for image generation involves integrating several technologies and services. Here’s a step-by-step guide on how to …

read more

How To Add Images in Markdown

Adding images in Markdown is straightforward. Here’s how you can do it. The basic syntax for adding an image in Markdown. If you have an image file in the same directory as your Markdown file. Markdown does not support image resizing natively, …

read more