JavaScript中的anchor()方法使用详解

xudaqing67031 22 0 PDF 2021-02-01 16:02:09

此方法创建一个用作超文本目标的HTML锚。 语法 string.anchor( anchorname ) 下面是参数的详细信息: anchorname: 定义了锚的名称 返回值: 返回其锚标记的字符串 例子: <html> <head> <title>JavaScript String anchor() Method</title> </head> <body> [removed] var str = new String(Hello world); alert(str.anchor

用户评论
请输入评论内容
评分:
暂无评论