📜  超链接与超文本

📅  最后修改于: 2021-11-07 08:57:55             🧑  作者: Mango

这两个术语互为双胞胎,彼此之间的表演基本互补。但是,我们很少会混淆到底哪个是哪个。为了消除这种混淆,我们将通过适当的示例详细讨论两者的特殊性并解释差异。这两个术语都用于 WWW(万维网)

超链接:超链接包含网页的 URL。一般而言,导航超文本时会引用超链接。这些超链接隐藏在文本、图像、图形、音频、视频下,一旦我们将鼠标悬停在它上面就会突出显示。要激活超链接,我们单击超媒体,它会在新文档的打开中结束。它建立知识单元之间的连接,通常称为目标文档,因此超链接的替代名称是锚点或节点。

超文本: Ted Nelson 在 1956 年引入了术语超文本。超文本是一种包含可见文本以重定向目标页面(超链接包含的页面 URL)的文本。发明它是为了在计算机世界中建立交叉引用,类似于书籍中的索引。然而,阅读一本书的通常模式是顺序的。但是,这个超文本引入了交叉引用数据的想法。这种交叉引用在世界范围内有点复杂,但它使工作更容易。如果我们在网上冲浪,在阅读一篇文章时,我们会突然遇到一个术语,那一刻我们想了解它。如果该术语可能是超文本,我们将直接访问该页面,在那里我们将找到有关该术语的信息。因此,这消除了搜索该术语的额外时间。

示例:此示例结合了这两个术语。



  

    
        Hyperlink vs Hypertext
     
  
    

  

    
        

GeeksforGeeks

                                A Computer Science             Portal for Geeks                  

                   
            
                                                                   
                                                    
    
  

输出:

超链接和超文本的区别:

Hypertext Hyperlink
Hypertext contains the Non-linear linking of the text with some other information. In Hyperlinks the references are used in the hypertext or with other hypermedia.
Hypertext involves only text. Hyperlink involves Text, media, audio, video, images, and graphics.
Hypertext directed information only generates the related information. Hyperlink directed link could contain some unrelated information.
Hypertext contains Hyperlink. Hyperlink contains the comprised of the URLs.
Hypertext associate with the keywords. Hyperlink associate with the anchor tags.