• Basic web in PLSQL


    Introduction to HTML

    Even the language of the Web,HTML,one of a broad class of markup languages,is derived from a more mature open standard called Standard Generalized Markup Language,or SGML. The earlier standard is dense and complex. Fortunately for us, HTML is a lot simpler than SGML

    Where Do Web Pages Come From?

     

    HTML Basics

    HTML provides a way to mark up plain text so that it can have structure such as headings,paragraphs,and tables,and so that it can include non-textual elements such as images,buttons,and lines. HTML defines some special tags to designate the elements of the document. An element is a predefined logical part of the document such as a section heading. A tag is a name given to the element; tags appear between angle brackets (greater-than and less-than signs). Most elements are delimited with a pair of tags following the pattern: my document

    <tagname>my document elementtagname>

    Notice the slash in front of the tag name at the end. It is this slash that designates the closing tag.

    In addition to tags,HTML elements can have properties known as attributes. Attributes appear inside the tag, taking the general form:

    <tagname attribute="value">my text heretagname>

    In the following example of using an attribute,I define the background color of an HTML document to be white rather than the browser default (often gray). As you can see, bgcolor is an attribute of the BODY element:

    1. <BODY bgcolor="white">
    2. my document body
    3. BODY>

    You will want at least two sections in your document:

    • A header section,delimited by the HEAD element,which contains information such as the page title.

    • A body section,delimited by the BODY element,which contains the content of the page. This is the main part of the document.

    The pattern for a simple HTML document is:

    1. <HTML>
    2. <HEAD>
    3. <TITLE>Document titleTITLE>
    4. ...other "declarative" information
    5. HEAD>
    6. <BODY>
    7. content of page
    8. BODY>
    9. HTML>

    The following list describes these components:
    HTML element
    The HTML element,bounded by the and tags,houses the document’s head and body.
    HEAD element
    This section contains “declarative” information (that is,information that applies
    to the entire page). The document title,keywords for search engines,and special instructions to the browser all go here, between and .
    BODY element
    The body corresponds to the visible parts of the web page. Between and
    you put your text,marked up to indicate subheadings,images,links,
    tables, and other presentable elements—everything you want the user to see.

    At last we’re ready to look at our first HTML document:

    1. <HTML>
    2. <HEAD>
    3. <TITLE>Famous Quotations: Richard IIITITLE>
    4. HEAD>
    5. <BODY>
    6. "A horse, a horse, my kingdom for a horse!" - Richard III
    7. BODY>
    8. HTML>

    1. <html>
    2. <head>
    3. <title>Famous Quotations: Maxwelltitle>
    4. head>
    5. <body>
    6. "A horse, a horse, my kingdom for a horse!" - Maxwell
    7. <p> Browers interpret the paragraph element as a block of contiguous textp>
    8. <p>It gets separated from adjacent elements with a bit of extra space.p>
    9. <p>
    10. These are a few of my favorite things:<br>
    11. vi<br>
    12. PL/SQL<br>
    13. Linux
    14. p>
    15. body>
    16. html>

     

     

     

     

     

     Building a web-based library form

    The following is the HTML for the form:

    1. <html>
    2. <HEAD>
    3. <TITLE>Add Book to CatalogTITLE>
    4. HEAD>
    5. <BODY bgcolor="white">
    6. <H1>Add Book to CatalogH1>
    7. <FROM method="post" action="eat_add_book_form">
    8. <P>ISBN
    9. <INPUT type="text" name="isbn" maxlength="13" size="13">
    10. P>
    11. <P>Title
    12. <INPUT type="text" name="title" size="70" maxlength="2000">
    13. P>
    14. <P>Bar code
    15. <INPUT type="text" name="barcode_id" maxlength="100" size="35">
    16. P>
    17. <p>Summary
    18. <textarea name="summary" color="60" rows="8">textarea>
    19. p>
    20. <p>Author
    21. <INPUT type="text" name="author" maxlength="200" size="40">
    22. p>
    23. <p>Date published
    24. <INPUT type="text" name="date_published" size="20" maxlength="40">
    25. p>
    26. <p>Page count
    27. <INPUT type="text" name="page_count" maxlength="6" size="6">
    28. p>
    29. <p>
    30. <INPUT type="submit" name="Submit" value="Submit">
    31. p>
    32. FROM>
    33. BODY>
    34. html>

     

    Using PL/SQL to Create Web Pages

     

     

  • 相关阅读:
    Github星标90K?京东架构师一篇讲明白百亿级并发系统架构设计
    【英语:基础进阶_核心词汇扩充】E2.常见词后缀拓词
    windows系统redis和ARDM(redis客户端)下载安装步骤【非常详细】
    PostMan动态设置全局变量
    C++——vector
    工业物联网如何改善供暖生活
    自动化测试定位不到元素怎么办?
    (6)APB总线协议——(官方文档阅读APB3.0)
    ArcGIS:将相邻面进行合并,并不显示中间线条
    RabbitMq消息模型-队列消息
  • 原文地址:https://blog.csdn.net/u011868279/article/details/126158832