如何制作<a> html tag as default

时间:2018-08-18 12:00:19

标签: html

There are 3 links.I want to make one link as default means it should automatically open after loading the page

<a href="addobe27.php">Create OBE</a>
  <a href="addco27selection.php">Add CO</a>
  <a href="addpo27selection1.php">Add PO</a>

I want to make add co as default.How?

1 个答案:

答案 0 :(得分:0)

尝试:

grid.Columns(
  grid.Column(columnName: "Prod_Name", header: "Product Name"),
  grid.Column(columnName: "Prod_Type", header: "Type"),
  grid.Column(columnName: "Prod_Status", header: "Status"),
  grid.Column(header: "Actions", format: (item) =>
    new HtmlString(

      Html.ActionLink("Edit", "Edit", new { id = item.ID }).ToString() + " | " +

      Html.ActionLink("create", "Create", new { id = item.ID }).ToString() + " | " +
      Html.ActionLink("Invoice", "Invoice", new { id = item.ID }).ToString() + " | " +
      Html.ActionLink("Delete", "Delete", new { id = item.ID }).ToString()

    ), style: "Action"

  )